diff options
| author | Tor Aamodt <[email protected]> | 2020-07-03 19:42:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-03 19:42:18 -0700 |
| commit | 9d3caa1cb2c70a3be186d4704ecab0fe13277516 (patch) | |
| tree | a9f379ae6ff144e8f3eccd3d510a36c2c0983edd /src/cuda-sim/cuda-sim.cc | |
| parent | 708a249f854cedb08b0b5e494f45f2371f0525a6 (diff) | |
| parent | a8f98c3d111c9238ad79908e690b22c5e43f1522 (diff) | |
Merge pull request #186 from lucylufei/francois-update
Add activemask, bfind, vmin, vmax implementations
Diffstat (limited to 'src/cuda-sim/cuda-sim.cc')
| -rw-r--r-- | src/cuda-sim/cuda-sim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc index 75dd3c8..71f0703 100644 --- a/src/cuda-sim/cuda-sim.cc +++ b/src/cuda-sim/cuda-sim.cc @@ -1741,7 +1741,7 @@ void ptx_thread_info::ptx_exec_inst(warp_inst_t &inst, unsigned lane_id) { } else { const ptx_instruction *pI_saved = pI; ptx_instruction *pJ = NULL; - if (pI->get_opcode() == VOTE_OP) { + if (pI->get_opcode() == VOTE_OP || pI->get_opcode() == ACTIVEMASK_OP) { pJ = new ptx_instruction(*pI); *((warp_inst_t *)pJ) = inst; // copy active mask information pI = pJ; |
