summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.cc
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2011-10-27 16:39:07 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:18:23 -0700
commit332f225a945acd9c884dc0fb7cb993e6865dc415 (patch)
treeb9b92ef871a4d64a0e077ce31fe25e67ae6da58b /src/cuda-sim/cuda-sim.cc
parentf76b1aaeea5077e83f95ef39564e73bcbec25b37 (diff)
Warnings cleanup
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10753]
Diffstat (limited to 'src/cuda-sim/cuda-sim.cc')
-rw-r--r--src/cuda-sim/cuda-sim.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc
index 027c1de..f57a746 100644
--- a/src/cuda-sim/cuda-sim.cc
+++ b/src/cuda-sim/cuda-sim.cc
@@ -1452,7 +1452,7 @@ void gpgpu_cuda_ptx_sim_main_func( kernel_info_t &kernel )
threadLocalMemory = localMemoryPlace->second;
}
//new thread initialization
- newThread->init( g_the_gpu, NULL, NULL, NULL, NULL, NULL );
+ newThread->init( g_the_gpu, NULL, 0, 0, 0, 0 );
newThread->set_info(functionInfo);
newThread->set_nctaid(CTA_Id3d);
newThread->set_ntid(kernel.get_cta_dim());
@@ -1532,13 +1532,12 @@ void gpgpu_cuda_ptx_sim_main_func( kernel_info_t &kernel )
{
//execute the warp threads till a barrier met
- printf("Executing warp %d out of %d and threads count is %d \n",i,ctaWarpsList.size(), ctaLiveThreads);
+ printf("Executing warp %d out of %zu and threads count is %d \n",i,ctaWarpsList.size(), ctaLiveThreads);
while(true){
//for each warp execute threads until blocked or done
active_mask_t takenBranches;
bool atBarrier =false;
- bool stop=false;
// printf("In warp %d of size %d\n ",i,ctaWarpsList[i].size());
int threadsDoneInThisWarp =0;