diff options
| author | Timothy G Rogers <[email protected]> | 2018-03-27 10:20:26 -0400 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2018-03-27 10:20:26 -0400 |
| commit | d936eadf3c10dc70cc89f59e36b9984a137c53cf (patch) | |
| tree | 40cecc895d6ba261428c530b4d99cec81d775206 /src/cuda-sim/ptx.y | |
| parent | 89c198ba1f271bfc12a6c7d9c471e62a8daa5634 (diff) | |
| parent | 28ac03ba1056718d9ec904f3b76319d8e9e2dfd0 (diff) | |
Merge branch 'dev-purdue-integration' 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"); } ; |
