From cf8e2d40082447efbe95228e59c8acb1f4ac6404 Mon Sep 17 00:00:00 2001 From: Igor Chorazewicz Date: Wed, 23 Oct 2024 16:10:24 +0000 Subject: [PATCH] [CTS] add urEnqueueKernelLaunchMultiDeviceTest to match file it does not work with multiple devices. --- test/conformance/enqueue/enqueue_adapter_level_zero.match | 1 + test/conformance/enqueue/enqueue_adapter_level_zero_v2.match | 1 + test/conformance/enqueue/urEnqueueKernelLaunch.cpp | 2 ++ 3 files changed, 4 insertions(+) diff --git a/test/conformance/enqueue/enqueue_adapter_level_zero.match b/test/conformance/enqueue/enqueue_adapter_level_zero.match index 44d83d45f4..ae4163743f 100644 --- a/test/conformance/enqueue/enqueue_adapter_level_zero.match +++ b/test/conformance/enqueue/enqueue_adapter_level_zero.match @@ -51,6 +51,7 @@ urEnqueueMemImageWriteTest.InvalidOrigin3D/* urEnqueueMemImageWriteTest.InvalidRegion1D/* urEnqueueMemImageWriteTest.InvalidRegion2D/* urEnqueueMemImageWriteTest.InvalidRegion3D/* +{{OPT}}urEnqueueKernelLaunchMultiDeviceTest.KernelLaunchReadDifferentQueues/* urEnqueueReadHostPipeTest.InvalidEventWaitList/* urEnqueueReadHostPipeTest.InvalidNullHandleProgram/* urEnqueueReadHostPipeTest.InvalidNullHandleQueue/* diff --git a/test/conformance/enqueue/enqueue_adapter_level_zero_v2.match b/test/conformance/enqueue/enqueue_adapter_level_zero_v2.match index 9d89291395..7705cb5798 100644 --- a/test/conformance/enqueue/enqueue_adapter_level_zero_v2.match +++ b/test/conformance/enqueue/enqueue_adapter_level_zero_v2.match @@ -86,6 +86,7 @@ urEnqueueKernelLaunchWithVirtualMemory.Success/Intel_R__oneAPI_Unified_Runtime_o {{OPT}}urEnqueueMemImageWriteTest.InvalidRegion1D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ {{OPT}}urEnqueueMemImageWriteTest.InvalidRegion2D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ {{OPT}}urEnqueueMemImageWriteTest.InvalidRegion3D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +{{OPT}}urEnqueueKernelLaunchMultiDeviceTest.KernelLaunchReadDifferentQueues/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ urEnqueueUSMFill2DNegativeTest.OutOfBounds/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ urEnqueueUSMAdviseTest.InvalidSizeTooLarge/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ urEnqueueUSMPrefetchTest.InvalidSizeTooLarge/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ diff --git a/test/conformance/enqueue/urEnqueueKernelLaunch.cpp b/test/conformance/enqueue/urEnqueueKernelLaunch.cpp index 9b3d5fce3d..202c3082ad 100644 --- a/test/conformance/enqueue/urEnqueueKernelLaunch.cpp +++ b/test/conformance/enqueue/urEnqueueKernelLaunch.cpp @@ -472,6 +472,8 @@ struct urEnqueueKernelLaunchMultiDeviceTest : public urEnqueueKernelLaunchTest { }; UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urEnqueueKernelLaunchMultiDeviceTest); +// TODO: rewrite this test, right now it only works for a single queue +// (the context is only created for one device) TEST_P(urEnqueueKernelLaunchMultiDeviceTest, KernelLaunchReadDifferentQueues) { ur_mem_handle_t buffer = nullptr; AddBuffer1DArg(sizeof(val) * global_size, &buffer);