Revert "Add finish before command queue is released"

This reverts commit 50fae92ea2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2022-07-26 19:46:40 +02:00
committed by Compute-Runtime-Automation
parent 1f21d34fd3
commit b38c750cc4
7 changed files with 2 additions and 32 deletions

View File

@ -16,8 +16,7 @@ using namespace NEO;
TEST(QueueHelpersTest, givenCommandQueueWithoutVirtualEventWhenReleaseQueueIsCalledThenCmdQInternalRefCountIsNotDecremented) {
cl_int retVal = CL_SUCCESS;
MockContext context;
MockCommandQueue *cmdQ = new MockCommandQueue(&context, context.getDevice(0), 0, false);
MockCommandQueue *cmdQ = new MockCommandQueue;
EXPECT_EQ(1, cmdQ->getRefInternalCount());
EXPECT_EQ(1, cmdQ->getRefInternalCount());