mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Improve queries with number of SubDevices
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
69ae9dc9c2
commit
0345d9f707
@@ -556,7 +556,7 @@ HWTEST_F(LowPriorityCommandQueueTest, GivenDeviceWithSubdevicesWhenCreatingLowPr
|
||||
DebugManager.flags.CreateMultipleSubDevices.set(2);
|
||||
MockContext context;
|
||||
cl_queue_properties properties[] = {CL_QUEUE_PRIORITY_KHR, CL_QUEUE_PRIORITY_LOW_KHR, 0};
|
||||
EXPECT_EQ(2u, context.getDevice(0)->getNumAvailableDevices());
|
||||
EXPECT_EQ(2u, context.getDevice(0)->getNumGenericSubDevices());
|
||||
auto cmdQ = clCreateCommandQueueWithProperties(&context, context.getDevice(0), properties, nullptr);
|
||||
|
||||
auto commandQueueObj = castToObject<CommandQueue>(cmdQ);
|
||||
|
||||
Reference in New Issue
Block a user