mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Skip device enqueue tests when it's not supported
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f90932cca7
commit
74c2dcd27f
@@ -427,6 +427,8 @@ TEST_F(CloneKernelTest, GivenArgSamplerWhenCloningKernelThenKernelInfoIsCorrect)
|
|||||||
HWTEST2_F(CloneKernelTest, GivenArgDeviceQueueWhenCloningKernelThenKernelInfoIsCorrect, DeviceEnqueueSupport) {
|
HWTEST2_F(CloneKernelTest, GivenArgDeviceQueueWhenCloningKernelThenKernelInfoIsCorrect, DeviceEnqueueSupport) {
|
||||||
pKernelInfo->addArgDevQueue(0, 0x20, sizeof(void *));
|
pKernelInfo->addArgDevQueue(0, 0x20, sizeof(void *));
|
||||||
|
|
||||||
|
REQUIRE_DEVICE_ENQUEUE_OR_SKIP(device1);
|
||||||
|
|
||||||
cl_queue_properties queueProps[5] = {
|
cl_queue_properties queueProps[5] = {
|
||||||
CL_QUEUE_PROPERTIES,
|
CL_QUEUE_PROPERTIES,
|
||||||
CL_QUEUE_ON_DEVICE | CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE,
|
CL_QUEUE_ON_DEVICE | CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE,
|
||||||
|
|||||||
Reference in New Issue
Block a user