Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,27 @@ isKnownFailureOn(const std::tuple<ur_platform_handle_t, Param> &param,
inline bool isKnownFailureOn(const DeviceTuple &param,
const std::vector<Matcher> &matchers) {
auto adapterInfo = detail::getAdapterInfo(param.adapter);
std::string name;
uur::GetDeviceInfo<std::string>(param.device, UR_DEVICE_INFO_NAME, name);

std::string deviceName, platformName, platformVersion;
uur::GetDeviceInfo<std::string>(param.device, UR_DEVICE_INFO_NAME,
deviceName);
uur::GetPlatformInfo<std::string>(param.platform, UR_PLATFORM_INFO_NAME,
platformName);
uur::GetPlatformInfo<std::string>(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;
}

Expand Down
Loading