mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Remove command queue constructor
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b37d46dd3d
commit
9bca773b91
@@ -514,7 +514,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, EventProfilingTest, givenEventWhenCompleteIsZeroThen
|
||||
EXPECT_EQ(1, MyOSTime::instanceNum);
|
||||
MockContext context;
|
||||
cl_command_queue_properties props[5] = {0, 0, 0, 0, 0};
|
||||
MockCommandQueue cmdQ(&context, device.get(), props);
|
||||
MockCommandQueue cmdQ(&context, device.get(), props, false);
|
||||
cmdQ.setProfilingEnabled();
|
||||
cmdQ.device = device.get();
|
||||
|
||||
@@ -551,7 +551,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, EventProfilingTests, givenRawTimestampsDebugModeWhen
|
||||
EXPECT_EQ(1, MyOSTime::instanceNum);
|
||||
MockContext context;
|
||||
cl_command_queue_properties props[5] = {0, 0, 0, 0, 0};
|
||||
MockCommandQueue cmdQ(&context, device.get(), props);
|
||||
MockCommandQueue cmdQ(&context, device.get(), props, false);
|
||||
cmdQ.setProfilingEnabled();
|
||||
cmdQ.device = device.get();
|
||||
|
||||
@@ -603,7 +603,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, EventProfilingTest, givenRawTimestampsDebugModeWhenS
|
||||
device->setOSTime(new MyOSTime());
|
||||
EXPECT_EQ(1, MyOSTime::instanceNum);
|
||||
MockContext context(device.get());
|
||||
MockCommandQueue cmdQ(&context, device.get(), nullptr);
|
||||
MockCommandQueue cmdQ(&context, device.get(), nullptr, false);
|
||||
cmdQ.setProfilingEnabled();
|
||||
cmdQ.device = device.get();
|
||||
|
||||
@@ -1170,7 +1170,7 @@ struct ProfilingTimestampPacketsTest : public ::testing::Test {
|
||||
DebugManagerStateRestore restorer;
|
||||
MockContext context;
|
||||
cl_command_queue_properties props[5] = {0, 0, 0, 0, 0};
|
||||
ReleaseableObjectPtr<MockCommandQueue> cmdQ = clUniquePtr(new MockCommandQueue(&context, context.getDevice(0), props));
|
||||
ReleaseableObjectPtr<MockCommandQueue> cmdQ = clUniquePtr(new MockCommandQueue(&context, context.getDevice(0), props, false));
|
||||
ReleaseableObjectPtr<MockEvent<MyEvent>> ev = clUniquePtr(new MockEvent<MyEvent>(cmdQ.get(), CL_COMMAND_USER, CompletionStamp::notReady, CompletionStamp::notReady));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user