mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add finish before command queue is released
Related-To: NEO-5279 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
4d35a76931
commit
50fae92ea2
@ -16,7 +16,8 @@ using namespace NEO;
|
||||
|
||||
TEST(QueueHelpersTest, givenCommandQueueWithoutVirtualEventWhenReleaseQueueIsCalledThenCmdQInternalRefCountIsNotDecremented) {
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
MockCommandQueue *cmdQ = new MockCommandQueue;
|
||||
MockContext context;
|
||||
MockCommandQueue *cmdQ = new MockCommandQueue(&context, context.getDevice(0), 0, false);
|
||||
EXPECT_EQ(1, cmdQ->getRefInternalCount());
|
||||
|
||||
EXPECT_EQ(1, cmdQ->getRefInternalCount());
|
||||
|
Reference in New Issue
Block a user