summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_ir.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-09-06 02:31:24 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:48:54 -0700
commit3072e5b58e2e18f2691ab1b4afda505f5ccaf56c (patch)
tree72a9c2e9d3677fe36675178394147ef34ce58628 /src/cuda-sim/ptx_ir.cc
parentdb8175181856355bd6d376b77733f85f06f852d6 (diff)
Added implementation of vote.ballot (passing directed test). Added popc (not tested). Reducing number of iterations for radixSortThrust for regression.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13993]
Diffstat (limited to 'src/cuda-sim/ptx_ir.cc')
-rw-r--r--src/cuda-sim/ptx_ir.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_ir.cc b/src/cuda-sim/ptx_ir.cc
index 61b45e3..f8b7314 100644
--- a/src/cuda-sim/ptx_ir.cc
+++ b/src/cuda-sim/ptx_ir.cc
@@ -1111,6 +1111,8 @@ ptx_instruction::ptx_instruction( int opcode,
break;
case ALL_OPTION:
m_vote_mode = vote_all;
+ case BALLOT_OPTION:
+ m_vote_mode = vote_ballot;
break;
case GLOBAL_OPTION:
m_membar_level = GLOBAL_OPTION;