From f43d02027e38c907c02afb870b282115c9d3c4be Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Mon, 1 Aug 2016 13:38:47 -0500 Subject: [PATCH] Remove faulty assert for kernelCnt==0 Change-Id: I8a925c95f48e857c0a31f44561499e90dc6df552 --- src/hip_hcc.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hip_hcc.cpp b/src/hip_hcc.cpp index 9af4146891..c6c8691419 100644 --- a/src/hip_hcc.cpp +++ b/src/hip_hcc.cpp @@ -183,9 +183,7 @@ void ihipStream_t::wait(LockedAccessor_StreamCrit_t &crit, bool assertQueueEmpty if (! assertQueueEmpty) { tprintf (DB_SYNC, "stream %p wait for queue-empty..\n", this); _av.wait(); - } else { - assert (crit->_kernelCnt == 0); - } + } if (crit->_last_copy_signal) { tprintf (DB_SYNC, "stream %p wait for lastCopy:#%lu...\n", this, lastCopySeqId(crit) );