summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.cc
diff options
context:
space:
mode:
authorLucy Liu <[email protected]>2020-07-03 13:53:02 -0700
committerLucy Liu <[email protected]>2020-07-03 13:53:02 -0700
commita8f98c3d111c9238ad79908e690b22c5e43f1522 (patch)
treea9f379ae6ff144e8f3eccd3d510a36c2c0983edd /src/cuda-sim/cuda-sim.cc
parent52bee41cfea17f13e93cc1fb812c125fd44bac7b (diff)
removed whitespace changes
Diffstat (limited to 'src/cuda-sim/cuda-sim.cc')
-rw-r--r--src/cuda-sim/cuda-sim.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc
index 451feb5..71f0703 100644
--- a/src/cuda-sim/cuda-sim.cc
+++ b/src/cuda-sim/cuda-sim.cc
@@ -346,11 +346,11 @@ void function_info::ptx_assemble() {
printf("GPGPU-Sim PTX: finding reconvergence points for \'%s\'...\n", m_name.c_str() );
create_basic_blocks();
connect_basic_blocks();
- bool modified = false;
+ bool modified = false;
do {
find_dominators();
find_idominators();
- modified = connect_break_targets();
+ modified = connect_break_targets();
} while (modified == true);
if ( g_debug_execution>=50 ) {
@@ -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 || pI->get_opcode() == ACTIVEMASK_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;