From 3072e5b58e2e18f2691ab1b4afda505f5ccaf56c Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Thu, 6 Sep 2012 02:31:24 -0800 Subject: 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] --- src/cuda-sim/ptx_ir.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cuda-sim/ptx_ir.cc') 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; -- cgit v1.3