summaryrefslogtreecommitdiff
path: root/src/stream_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_manager.cc')
-rw-r--r--src/stream_manager.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stream_manager.cc b/src/stream_manager.cc
index 3b6cbd5..5b886ab 100644
--- a/src/stream_manager.cc
+++ b/src/stream_manager.cc
@@ -195,6 +195,13 @@ bool stream_operation::do_operation( gpgpu_sim *gpu )
m_stream->record_next_done();
}
break;
+ case stream_wait_event: {
+ if(g_debug_execution >= 3)
+ printf("stream wait event\n");
+ if(m_event->done())
+ m_stream->record_next_done();
+ }
+ break;
default:
abort();
}