summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2013-04-26 13:37:21 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:47 -0700
commite3f98ac307226942862182077b90bf3809e7ce3a (patch)
tree6bc9434c07c99208e86ff46860f2eb9cf4cd2974 /src
parentacd2b3341cca1192ff50f60591ef0db278d970bf (diff)
Fixing the broken valgrind build.
review:28002 lgtm:0 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15957]
Diffstat (limited to 'src')
-rw-r--r--src/cuda-sim/cuda-sim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuda-sim/cuda-sim.h b/src/cuda-sim/cuda-sim.h
index 261d458..96953fb 100644
--- a/src/cuda-sim/cuda-sim.h
+++ b/src/cuda-sim/cuda-sim.h
@@ -92,8 +92,8 @@ public:
}
~functionalCoreSim(){
warp_exit(0);
- delete m_liveThreadCount;
- delete m_warpAtBarrier;
+ delete[] m_liveThreadCount;
+ delete[] m_warpAtBarrier;
}
//! executes all warps till completion
void execute();