diff options
| author | Timothy G Rogers <[email protected]> | 2018-03-25 18:28:39 -0400 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2018-03-25 18:28:39 -0400 |
| commit | f7ff51824547d017bdfffcaff79a762ff07c6fdf (patch) | |
| tree | 331aefc5a9df52299b7e0f9d8de56439cf187d36 /src/cuda-sim/ptx.y | |
| parent | 82a62207406739bc8597326aa473a99007029d75 (diff) | |
| parent | 4e91a60a48b07f41f4bfb4d59fa2355024a3914b (diff) | |
Merge pull request #13 from tgrogers/dev-purdue-integration
Support for lonestar and modifying our configs to not completely screw up when the user configures the cache preference
Diffstat (limited to 'src/cuda-sim/ptx.y')
| -rw-r--r-- | src/cuda-sim/ptx.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index e00aa4b..c0c58a6 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -228,7 +228,8 @@ function_defn: function_decl { set_symtab($1); func_header(".skip"); } statement block_spec: MAXNTID_DIRECTIVE INT_OPERAND COMMA INT_OPERAND COMMA INT_OPERAND {func_header_info_int(".maxntid", $2); func_header_info_int(",", $4); - func_header_info_int(",", $6); } + func_header_info_int(",", $6); + maxnt_id($2, $4, $6);} | MINNCTAPERSM_DIRECTIVE INT_OPERAND { func_header_info_int(".minnctapersm", $2); printf("GPGPU-Sim: Warning: .minnctapersm ignored. \n"); } | MAXNCTAPERSM_DIRECTIVE INT_OPERAND { func_header_info_int(".maxnctapersm", $2); printf("GPGPU-Sim: Warning: .maxnctapersm ignored. \n"); } ; |
