summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-05-08 14:22:10 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:38 -0700
commitac470a84b497769d6a16744e582c81e56f78d343 (patch)
treeed2ad464e2ce14e28b902e1ba6a05274974f4e33 /src/gpgpu-sim/gpu-sim.h
parentf24ae8dd11dc5f49d96bbecab9aecc3e431eb8ff (diff)
When a kernel is done, it doesn't mean it finished executing. Instructions could have a few cycles left (e.g. memory).
To prevent the problem with the race condition, no stream operations are allowed to launch until the kernel that has finished finished executing. The loop will exit, the kernel prints its stats, then in the next iteration the next operation is allowed to launch. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12362]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
0 files changed, 0 insertions, 0 deletions