Skip to content
Open
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
3 changes: 3 additions & 0 deletions .github/workflows/ur-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
runner: UR_L0
other_adapter: NATIVE_CPU
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
- name: L0_V2
runner: UR_L0_BMG
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
- name: CUDA
runner: UR_CUDA
image_options: -u 1001 --privileged --cap-add SYS_ADMIN --gpus all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using urDeviceCreateWithNativeHandleTest = uur::urDeviceTest;
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urDeviceCreateWithNativeHandleTest);

TEST_P(urDeviceCreateWithNativeHandleTest, Success) {
UUR_KNOWN_FAILURE_ON(uur::LevelZeroV2{});
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a GH issue and paste it in a comment above the added UUR_KNOWN_FAILURE_ON macros.
You can omit the urEnqueueKernelLaunchKernelSubGroupTest fixture, since the skip reason is explained there.

ur_native_handle_t native_handle = 0;

UUR_ASSERT_SUCCESS_OR_UNSUPPORTED(
Expand All @@ -33,6 +34,7 @@ TEST_P(urDeviceCreateWithNativeHandleTest, Success) {

TEST_P(urDeviceCreateWithNativeHandleTest,
SuccessWithExplicitUnOwnedNativeHandle) {
UUR_KNOWN_FAILURE_ON(uur::LevelZeroV2{});
ur_native_handle_t native_handle = 0;
UUR_ASSERT_SUCCESS_OR_UNSUPPORTED(
urDeviceGetNativeHandle(device, &native_handle));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ TEST_P(urDeviceGetSelectedTest, SuccessSelected_StarColonStar) {
}

TEST_P(urDeviceGetSelectedTest, SuccessSelected_StarColonZero) {
UUR_KNOWN_FAILURE_ON(uur::LevelZeroV2{});
uur::set_env("ONEAPI_DEVICE_SELECTOR", "*:0");
uint32_t count = 0;
ASSERT_SUCCESS(
Expand Down Expand Up @@ -153,6 +154,7 @@ TEST_P(urDeviceGetSelectedTest, SuccessSelected_SelectAndDiscard) {

TEST_P(urDeviceGetSelectedTest,
SuccessSelected_SelectSomethingAndDiscardSomethingElse) {
UUR_KNOWN_FAILURE_ON(uur::LevelZeroV2{});
uur::set_env("ONEAPI_DEVICE_SELECTOR", "*:0;!*:1");
uint32_t count = 0;
ASSERT_SUCCESS(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ UUR_INSTANTIATE_DEVICE_TEST_SUITE_MULTI_QUEUE(
// Note: Due to an issue with HIP, the subgroup test is not generated
struct urEnqueueKernelLaunchKernelSubGroupTest : uur::urKernelExecutionTest {
void SetUp() override {
// Subgroup size of 8 isn't supported on the Data Center GPU Max
UUR_KNOWN_FAILURE_ON(uur::HIP{}, uur::LevelZero{"Data Center GPU Max"},
uur::LevelZeroV2{"Data Center GPU Max"});
// Subgroup size of 8 isn't supported on the Data Center GPU Max or Battlemage Arc
UUR_KNOWN_FAILURE_ON(uur::HIP{},
uur::LevelZero{"Data Center GPU Max", "Arc(TM) B"},
uur::LevelZeroV2{"Data Center GPU Max", "Arc(TM) B"});

program_name = "subgroup";
UUR_RETURN_ON_FATAL_FAILURE(urKernelExecutionTest::SetUp());
Expand Down
Loading