diff options
| author | boyealkim <[email protected]> | 2019-07-27 03:54:44 +0900 |
|---|---|---|
| committer | boyealkim <[email protected]> | 2019-07-27 03:54:44 +0900 |
| commit | f3ec23390a0798eab1426adf962487680ea89e93 (patch) | |
| tree | a98888812c64113d5a31bc9780bb377ef36b1290 /src/stream_manager.cc | |
| parent | b13557baa4ea6d1084bdcc9b28b9eb660c394427 (diff) | |
fix event done impl
Diffstat (limited to 'src/stream_manager.cc')
| -rw-r--r-- | src/stream_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream_manager.cc b/src/stream_manager.cc index d0eecdd..0d67e10 100644 --- a/src/stream_manager.cc +++ b/src/stream_manager.cc @@ -198,7 +198,7 @@ bool stream_operation::do_operation( gpgpu_sim *gpu ) //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()){ + if(m_event->num_updates()>=m_cnt){ printf("stream wait event done\n"); m_stream->record_next_done(); } |
