diff --git a/test/conformance/enqueue/enqueue_adapter_level_zero.match b/test/conformance/enqueue/enqueue_adapter_level_zero.match index 1c85a579b9..27c742a2c2 100644 --- a/test/conformance/enqueue/enqueue_adapter_level_zero.match +++ b/test/conformance/enqueue/enqueue_adapter_level_zero.match @@ -5,6 +5,7 @@ {{OPT}}urEnqueueKernelLaunchKernelSubGroupTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ {{OPT}}urEnqueueKernelLaunchUSMLinkedList.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}__UsePoolEnabled {{OPT}}urEnqueueKernelLaunchUSMLinkedList.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}__UsePoolDisabled +{{OPT}}urEnqueueKernelLaunchIncrementMultiDeviceMultiThreadTest.Success/NoUseEventsNoQueuePerThread {{OPT}}urEnqueueMemBufferCopyRectTestWithParam.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___copy_2d_3d {{OPT}}urEnqueueMemBufferCopyRectTestWithParam.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___copy_3d_2d {{OPT}}urEnqueueMemBufferReadRectTestWithParam.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___write_non_zero_offsets_2D @@ -22,4 +23,23 @@ {{OPT}}urEnqueueMemImageReadTest.InvalidOrigin1D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ {{OPT}}urEnqueueMemImageReadTest.InvalidOrigin2D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ {{OPT}}urEnqueueMemImageReadTest.InvalidOrigin3D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ -{{Segmentation fault|Aborted}} +urEnqueueMemImageWriteTest.InvalidOrigin1D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueMemImageWriteTest.InvalidOrigin2D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueMemImageWriteTest.InvalidOrigin3D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueMemImageWriteTest.InvalidRegion1D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueMemImageWriteTest.InvalidRegion2D/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueMemImageWriteTest.InvalidRegion3D/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___{{.*}}_ +urEnqueueUSMMemcpyTest.WaitForDependencies/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueUSMPrefetchTest.InvalidSizeTooLarge/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueReadHostPipeTest.InvalidNullHandleQueue/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueReadHostPipeTest.InvalidNullHandleProgram/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueReadHostPipeTest.InvalidNullPointerPipeSymbol/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueReadHostPipeTest.InvalidNullPointerBuffer/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueReadHostPipeTest.InvalidEventWaitList/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueWriteHostPipeTest.InvalidNullHandleQueue/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueWriteHostPipeTest.InvalidNullHandleProgram/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueWriteHostPipeTest.InvalidNullPointerPipeSymbol/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueWriteHostPipeTest.InvalidNullPointerBuffer/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEnqueueWriteHostPipeTest.InvalidEventWaitList/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ diff --git a/test/conformance/enqueue/urEnqueueEventsWait.cpp b/test/conformance/enqueue/urEnqueueEventsWait.cpp index 3d71200008..31d1e3e4f7 100644 --- a/test/conformance/enqueue/urEnqueueEventsWait.cpp +++ b/test/conformance/enqueue/urEnqueueEventsWait.cpp @@ -37,6 +37,7 @@ struct urEnqueueEventsWaitTest : uur::urMultiQueueTest { UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urEnqueueEventsWaitTest); TEST_P(urEnqueueEventsWaitTest, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ur_event_handle_t event1 = nullptr; ur_event_handle_t waitEvent = nullptr; ASSERT_SUCCESS(urEnqueueMemBufferCopy(queue1, src_buffer, dst_buffer, 0, 0, @@ -47,6 +48,7 @@ TEST_P(urEnqueueEventsWaitTest, Success) { ASSERT_SUCCESS(urEventWait(1, &waitEvent)); std::vector output(count, 1); + // Corrupts the stack ASSERT_SUCCESS(urEnqueueMemBufferRead(queue1, dst_buffer, true, 0, size, output.data(), 0, nullptr, nullptr)); ASSERT_EQ(input, output); diff --git a/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp b/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp index fe630c4018..b914d19435 100644 --- a/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp +++ b/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp @@ -37,6 +37,7 @@ struct urEnqueueEventsWaitWithBarrierTest : uur::urMultiQueueTest { UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urEnqueueEventsWaitWithBarrierTest); TEST_P(urEnqueueEventsWaitWithBarrierTest, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ur_event_handle_t event1 = nullptr; ur_event_handle_t waitEvent = nullptr; ASSERT_SUCCESS(urEnqueueMemBufferCopy(queue1, src_buffer, dst_buffer, 0, 0, @@ -48,6 +49,7 @@ TEST_P(urEnqueueEventsWaitWithBarrierTest, Success) { EXPECT_SUCCESS(urEventWait(1, &waitEvent)); std::vector output(count, 1); + // Corrupts the stack EXPECT_SUCCESS(urEnqueueMemBufferRead(queue1, dst_buffer, true, 0, size, output.data(), 0, nullptr, nullptr)); EXPECT_EQ(input, output); diff --git a/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp b/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp index ad73d4aa69..779f2057b7 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp @@ -43,6 +43,7 @@ UUR_TEST_SUITE_P(urEnqueueMemBufferCopyTestWithParam, uur::deviceTestWithParamPrinter); TEST_P(urEnqueueMemBufferCopyTestWithParam, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ASSERT_SUCCESS(urEnqueueMemBufferCopy(queue, src_buffer, dst_buffer, 0, 0, size, 0, nullptr, nullptr)); std::vector output(count, 1); diff --git a/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp b/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp index 8c7fe5d430..66d7392269 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp @@ -77,6 +77,7 @@ UUR_TEST_SUITE_P( TEST_P(urEnqueueMemBufferCopyRectTestWithParam, Success) { // Unpack the parameters. + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); const auto src_buffer_size = getParam().src_size; const auto dst_buffer_size = getParam().dst_size; const auto src_buffer_origin = getParam().src_origin; diff --git a/test/conformance/enqueue/urEnqueueMemBufferFill.cpp b/test/conformance/enqueue/urEnqueueMemBufferFill.cpp index f4c8caabc9..ff19c71563 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferFill.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferFill.cpp @@ -67,6 +67,7 @@ UUR_TEST_SUITE_P(urEnqueueMemBufferFillTest, testing::ValuesIn(test_cases), uur::printFillTestString); TEST_P(urEnqueueMemBufferFillTest, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ASSERT_SUCCESS(urEnqueueMemBufferFill(queue, buffer, pattern.data(), pattern_size, 0, size, 0, nullptr, nullptr)); @@ -76,6 +77,7 @@ TEST_P(urEnqueueMemBufferFillTest, Success) { verifyData(output, size); } TEST_P(urEnqueueMemBufferFillTest, SuccessPartialFill) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); if (size == 1) { // Can't partially fill one byte GTEST_SKIP(); @@ -101,6 +103,7 @@ TEST_P(urEnqueueMemBufferFillTest, SuccessPartialFill) { } TEST_P(urEnqueueMemBufferFillTest, SuccessOffset) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); if (size == 1) { // No room for an offset GTEST_SKIP(); diff --git a/test/conformance/enqueue/urEnqueueMemBufferMap.cpp b/test/conformance/enqueue/urEnqueueMemBufferMap.cpp index eb06724139..4577df65a5 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferMap.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferMap.cpp @@ -64,6 +64,7 @@ TEST_P(urEnqueueMemBufferMapTestWithWriteFlagParam, SuccessWrite) { } TEST_P(urEnqueueMemBufferMapTestWithParam, SuccessOffset) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); const std::vector input(count, 0); ASSERT_SUCCESS(urEnqueueMemBufferWrite(queue, buffer, true, 0, size, input.data(), 0, nullptr, nullptr)); diff --git a/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp b/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp index d832fe29ed..2070de4b6f 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp @@ -76,6 +76,7 @@ UUR_TEST_SUITE_P( uur::printRectTestString); TEST_P(urEnqueueMemBufferWriteRectTestWithParam, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); // Unpack the parameters. const auto host_size = getParam().src_size; const auto buffer_size = getParam().dst_size; diff --git a/test/conformance/enqueue/urEnqueueMemImageCopy.cpp b/test/conformance/enqueue/urEnqueueMemImageCopy.cpp index 293297589a..bc5bc1abb7 100644 --- a/test/conformance/enqueue/urEnqueueMemImageCopy.cpp +++ b/test/conformance/enqueue/urEnqueueMemImageCopy.cpp @@ -115,6 +115,7 @@ UUR_TEST_SUITE_P(urEnqueueMemImageCopyTest, printImageCopyTestString); TEST_P(urEnqueueMemImageCopyTest, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ASSERT_SUCCESS(urEnqueueMemImageCopy(queue, srcImage, dstImage, {0, 0, 0}, {0, 0, 0}, size, 0, nullptr, nullptr)); std::vector output(buffSize, {1, 1, 1, 1}); @@ -125,6 +126,7 @@ TEST_P(urEnqueueMemImageCopyTest, Success) { } TEST_P(urEnqueueMemImageCopyTest, SuccessPartialCopy) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ASSERT_SUCCESS(urEnqueueMemImageCopy(queue, srcImage, dstImage, {0, 0, 0}, {0, 0, 0}, partialRegion, 0, nullptr, nullptr)); @@ -149,6 +151,7 @@ TEST_P(urEnqueueMemImageCopyTest, SuccessPartialCopy) { } TEST_P(urEnqueueMemImageCopyTest, SuccessPartialCopyWithSrcOffset) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ASSERT_SUCCESS(urEnqueueMemImageCopy(queue, srcImage, dstImage, partialRegionOffset, {0, 0, 0}, partialRegion, 0, nullptr, nullptr)); @@ -173,6 +176,7 @@ TEST_P(urEnqueueMemImageCopyTest, SuccessPartialCopyWithSrcOffset) { } TEST_P(urEnqueueMemImageCopyTest, SuccessPartialCopyWithDstOffset) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ASSERT_SUCCESS(urEnqueueMemImageCopy(queue, srcImage, dstImage, {0, 0, 0}, partialRegionOffset, partialRegion, 0, nullptr, nullptr)); diff --git a/test/conformance/enqueue/urEnqueueMemImageRead.cpp b/test/conformance/enqueue/urEnqueueMemImageRead.cpp index af65d6feab..001b20b4bb 100644 --- a/test/conformance/enqueue/urEnqueueMemImageRead.cpp +++ b/test/conformance/enqueue/urEnqueueMemImageRead.cpp @@ -107,6 +107,7 @@ TEST_P(urEnqueueMemImageReadTest, InvalidOrigin3D) { } TEST_P(urEnqueueMemImageReadTest, InvalidRegion1D) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); std::vector output(width * 4, 42); ur_rect_region_t bad_region{width + 1, 1, 1}; ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_SIZE, @@ -116,6 +117,7 @@ TEST_P(urEnqueueMemImageReadTest, InvalidRegion1D) { } TEST_P(urEnqueueMemImageReadTest, InvalidRegion2D) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); std::vector output(width * height * 4, 42); ur_rect_region_t bad_region{width, height + 1, 1}; ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_SIZE, @@ -125,6 +127,7 @@ TEST_P(urEnqueueMemImageReadTest, InvalidRegion2D) { } TEST_P(urEnqueueMemImageReadTest, InvalidRegion3D) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); std::vector output(width * height * depth * 4, 42); ur_rect_region_t bad_region{width, height, depth + 1}; ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_SIZE, diff --git a/test/conformance/event/event_adapter_level_zero.match b/test/conformance/event/event_adapter_level_zero.match index cae719ef16..17a9817f48 100644 --- a/test/conformance/event/event_adapter_level_zero.match +++ b/test/conformance/event/event_adapter_level_zero.match @@ -4,4 +4,7 @@ {{OPT}}urEventGetProfilingInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_PROFILING_INFO_COMMAND_SUBMIT {{OPT}}urEventGetProfilingInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_PROFILING_INFO_COMMAND_COMPLETE {{OPT}}urEventGetProfilingInfoWithTimingComparisonTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ -{{OPT}}{{Segmentation fault|Aborted}} +urEventSetCallbackTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEventSetCallbackTest.ValidateParameters/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEventSetCallbackTest.AllStates/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ +urEventSetCallbackTest.EventAlreadyCompleted/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ diff --git a/test/conformance/event/urEventCreateWithNativeHandle.cpp b/test/conformance/event/urEventCreateWithNativeHandle.cpp index 36ff0b44dc..d162ac8a1c 100644 --- a/test/conformance/event/urEventCreateWithNativeHandle.cpp +++ b/test/conformance/event/urEventCreateWithNativeHandle.cpp @@ -10,6 +10,7 @@ using urEventCreateWithNativeHandleTest = uur::event::urEventTest; UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urEventCreateWithNativeHandleTest); TEST_P(urEventCreateWithNativeHandleTest, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ur_native_handle_t native_event = 0; { UUR_ASSERT_SUCCESS_OR_UNSUPPORTED( diff --git a/test/conformance/event/urEventGetInfo.cpp b/test/conformance/event/urEventGetInfo.cpp index 4cca805cd0..46e480177a 100644 --- a/test/conformance/event/urEventGetInfo.cpp +++ b/test/conformance/event/urEventGetInfo.cpp @@ -8,7 +8,7 @@ using urEventGetInfoTest = uur::event::urEventTestWithParam; TEST_P(urEventGetInfoTest, Success) { - + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ur_event_info_t info_type = getParam(); size_t size; ASSERT_SUCCESS(urEventGetInfo(event, info_type, 0, nullptr, &size)); diff --git a/test/conformance/memory/memory_adapter_level_zero.match b/test/conformance/memory/memory_adapter_level_zero.match index f09638fd08..8c52cc3ce9 100644 --- a/test/conformance/memory/memory_adapter_level_zero.match +++ b/test/conformance/memory/memory_adapter_level_zero.match @@ -2,4 +2,18 @@ urMemBufferPartitionTest.InvalidValueCreateType/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ urMemBufferPartitionTest.InvalidValueBufferCreateInfoOutOfBounds/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ {{OPT}}urMemGetInfoImageTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_MEM_INFO_SIZE -{{Segmentation fault|Aborted}} +{{OPT}}urMemImageGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_FORMAT +{{OPT}}urMemImageGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_ELEMENT_SIZE +{{OPT}}urMemImageGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_ROW_PITCH +{{OPT}}urMemImageGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_SLICE_PITCH +{{OPT}}urMemImageGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_WIDTH +{{OPT}}urMemImageGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_HEIGHT +{{OPT}}urMemImageGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_DEPTH +{{OPT}}urMemImageGetInfoTest.InvalidSizeSmall/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_FORMAT +{{OPT}}urMemImageGetInfoTest.InvalidSizeSmall/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_ELEMENT_SIZE +{{OPT}}urMemImageGetInfoTest.InvalidSizeSmall/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_ROW_PITCH +{{OPT}}urMemImageGetInfoTest.InvalidSizeSmall/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_SLICE_PITCH +{{OPT}}urMemImageGetInfoTest.InvalidSizeSmall/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_WIDTH +{{OPT}}urMemImageGetInfoTest.InvalidSizeSmall/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_HEIGHT +{{OPT}}urMemImageGetInfoTest.InvalidSizeSmall/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_IMAGE_INFO_DEPTH +{{OPT}}urMemImageCreateTest.InvalidImageDescStype/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}_ diff --git a/test/conformance/memory/urMemImageCreate.cpp b/test/conformance/memory/urMemImageCreate.cpp index 28d5d9c4e3..417531ba53 100644 --- a/test/conformance/memory/urMemImageCreate.cpp +++ b/test/conformance/memory/urMemImageCreate.cpp @@ -188,6 +188,7 @@ TEST_P(urMemImageCreateTest, InvalidNullPointerImageFormat) { } TEST_P(urMemImageCreateTest, InvalidSize) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); uur::raii::Mem image_handle = nullptr; @@ -295,6 +296,7 @@ UUR_TEST_SUITE_P(urMemImageCreateWithHostPtrFlagsTest, uur::deviceTestWithParamPrinter); TEST_P(urMemImageCreateWithHostPtrFlagsTest, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); uur::raii::Mem host_ptr_buffer = nullptr; ASSERT_SUCCESS(urMemImageCreate(context, UR_MEM_FLAG_ALLOC_HOST_POINTER, &image_format, &image_desc, nullptr, diff --git a/test/conformance/memory/urMemImageCreateWithImageFormatParam.cpp b/test/conformance/memory/urMemImageCreateWithImageFormatParam.cpp index c305f58f00..a4ba581459 100644 --- a/test/conformance/memory/urMemImageCreateWithImageFormatParam.cpp +++ b/test/conformance/memory/urMemImageCreateWithImageFormatParam.cpp @@ -90,6 +90,7 @@ UUR_TEST_SUITE_P( uur::deviceTestWithParamPrinter); TEST_P(urMemImageCreateTestWithImageFormatParam, Success) { + UUR_SKIP_ON_BACKEND(UR_PLATFORM_BACKEND_LEVEL_ZERO, "Crashes: https://github.com/oneapi-src/unified-runtime/issues/2103"); ur_image_channel_order_t channel_order = std::get<1>(GetParam()).channelOrder; ur_image_channel_type_t channel_type = std::get<1>(GetParam()).channelType; diff --git a/test/conformance/testing/include/uur/fixtures.h b/test/conformance/testing/include/uur/fixtures.h index 568f700da1..743c847490 100644 --- a/test/conformance/testing/include/uur/fixtures.h +++ b/test/conformance/testing/include/uur/fixtures.h @@ -30,6 +30,16 @@ ASSERT_EQ(status, UR_RESULT_SUCCESS); \ } +#define UUR_SKIP_ON_BACKEND(BACKEND, ...) \ + do { \ + ur_platform_backend_t backend; \ + ASSERT_SUCCESS(urPlatformGetInfo(platform, UR_PLATFORM_INFO_BACKEND, \ + sizeof(backend), &backend, nullptr)); \ + if (backend == BACKEND) { \ + GTEST_SKIP() << __VA_ARGS__; \ + } \ + } while (0); + namespace uur { struct urPlatformTest : ::testing::Test {