summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stream_manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream_manager.cc b/src/stream_manager.cc
index 697d6ec..c6c17ac 100644
--- a/src/stream_manager.cc
+++ b/src/stream_manager.cc
@@ -195,6 +195,8 @@ bool stream_operation::do_operation( gpgpu_sim *gpu )
}
break;
case stream_wait_event: {
+ //only allows next op to go if event is done
+ //otherwise stays in the stream queue
printf("stream wait event processing...\n");
if(m_event->done())
printf("stream wait event done\n");