diff --git a/unified-runtime/test/conformance/enqueue/urEnqueueKernelLaunch.cpp b/unified-runtime/test/conformance/enqueue/urEnqueueKernelLaunch.cpp index 705e3de637c85..119c577cbc4a6 100644 --- a/unified-runtime/test/conformance/enqueue/urEnqueueKernelLaunch.cpp +++ b/unified-runtime/test/conformance/enqueue/urEnqueueKernelLaunch.cpp @@ -230,6 +230,8 @@ TEST_P(urEnqueueKernelLaunchTest, InvalidWorkGroupSize) { TEST_P(urEnqueueKernelLaunchKernelWgSizeTest, Success) { UUR_KNOWN_FAILURE_ON(uur::LevelZero{}, uur::LevelZeroV2{}); + // https://github.com/intel/llvm/issues/21527 + UUR_KNOWN_FAILURE_ON(uur::CUDA{"13."}); ASSERT_SUCCESS(urEnqueueKernelLaunch(queue, kernel, n_dimensions, global_offset.data(), global_size.data(), @@ -238,6 +240,9 @@ TEST_P(urEnqueueKernelLaunchKernelWgSizeTest, Success) { } TEST_P(urEnqueueKernelLaunchKernelWgSizeTest, SuccessWithExplicitLocalSize) { + // https://github.com/intel/llvm/issues/21527 + UUR_KNOWN_FAILURE_ON(uur::CUDA{"13."}); + ASSERT_SUCCESS(urEnqueueKernelLaunch( queue, kernel, n_dimensions, global_offset.data(), global_size.data(), wg_size.data(), nullptr, 0, nullptr, nullptr)); diff --git a/unified-runtime/test/conformance/testing/include/uur/known_failure.h b/unified-runtime/test/conformance/testing/include/uur/known_failure.h index 2a95cbaa44aae..05bf0878fdb7a 100644 --- a/unified-runtime/test/conformance/testing/include/uur/known_failure.h +++ b/unified-runtime/test/conformance/testing/include/uur/known_failure.h @@ -134,13 +134,27 @@ isKnownFailureOn(const std::tuple ¶m, inline bool isKnownFailureOn(const DeviceTuple ¶m, const std::vector &matchers) { auto adapterInfo = detail::getAdapterInfo(param.adapter); - std::string name; - uur::GetDeviceInfo(param.device, UR_DEVICE_INFO_NAME, name); + + std::string deviceName, platformName, platformVersion; + uur::GetDeviceInfo(param.device, UR_DEVICE_INFO_NAME, + deviceName); + uur::GetPlatformInfo(param.platform, UR_PLATFORM_INFO_NAME, + platformName); + uur::GetPlatformInfo(param.platform, UR_PLATFORM_INFO_VERSION, + platformVersion); + for (const auto &matcher : matchers) { - if (matcher.matches(adapterInfo, name)) { + if (matcher.matches(adapterInfo, deviceName)) { + return true; + } + if (matcher.matches(adapterInfo, platformName)) { + return true; + } + if (matcher.matches(adapterInfo, platformVersion)) { return true; } } + return false; }