diff options
| author | Mahmoud <[email protected]> | 2018-03-28 14:01:17 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-03-28 14:01:17 -0400 |
| commit | 30401a261294a08a41fe0490b15ed031a225a02d (patch) | |
| tree | 11beec4b36776ba3161258ba9c8d16007220d4e6 /src/cuda-sim/ptx.y | |
| parent | 67a257442f46a9e8e02f63a9d71fcc7ca54f3f5e (diff) | |
| parent | cd4ec521b43093380ce9535ba940e65ea5bf0752 (diff) | |
Merge branch 'dev-purdue-integration' of https://github.rcac.purdue.edu/abdallm/gpgpu-sim_distribution into dev-purdue-integration
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"); } ; |
