summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-05-29 10:20:39 -0700
committerJonathan <[email protected]>2018-05-29 10:20:39 -0700
commit4b19748d4b3f808d8a45039326673da8caf73186 (patch)
treeeee68bf17ba4cce3acb86ebca373241c18d4045a
parent21cce426d844c64dac5de7985b97857bb3724e88 (diff)
clarifying comments
-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");