summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-02-22 05:52:04 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:03 -0700
commit14c9cd2ccd09e3f1ce8b6a4659556bbb41b971fb (patch)
treecbce5f9fd9cd0a00322d6843a17411e987473319 /src/cuda-sim
parentf14d1687d360a9a9007eacec680a4a71cf9bc76b (diff)
Adding option 'gpgpu_simt_core_sim_order' which allow the user to specify the order in which cores are simulator per cycle. Also adding support for calling function with empty parameter list.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11489]
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/ptx.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y
index ec058f6..f0b67fb 100644
--- a/src/cuda-sim/ptx.y
+++ b/src/cuda-sim/ptx.y
@@ -357,6 +357,7 @@ instruction_statement: instruction SEMI_COLON
instruction: opcode_spec LEFT_PAREN operand RIGHT_PAREN { set_return(); } COMMA operand COMMA LEFT_PAREN operand_list RIGHT_PAREN
| opcode_spec operand COMMA LEFT_PAREN operand_list RIGHT_PAREN
+ | opcode_spec operand COMMA LEFT_PAREN RIGHT_PAREN
| opcode_spec operand_list
| opcode_spec
;