diff --git a/crates/xcl/tests/gpu_compute_e2e.rs b/crates/xcl/tests/gpu_compute_e2e.rs index 08a1233..587c489 100644 --- a/crates/xcl/tests/gpu_compute_e2e.rs +++ b/crates/xcl/tests/gpu_compute_e2e.rs @@ -125,6 +125,13 @@ fn console_wave64_compute_through_the_pso_hook_dispatch_and_read_back() { runner::skip_test("no GPU"); return; } + // 32- or 64-lane waves (not WARP / the Basic Render Driver: 4): the driver rejects the + // translated program otherwise + if runner::wave64_programs_supported() != Ok(true) { + println!("no 32- or 64-lane waves – skipping"); + runner::skip_test("no wave64"); + return; + } let raw = real::device_raw(); let dev = unsafe { ID3D12Device::from_raw_borrowed(&raw) }.unwrap().clone(); println!("backend device: {}", real::stats().adapter); @@ -191,6 +198,13 @@ fn async_compute_pso_registers_real_pso_and_not_standin() { runner::skip_test("no GPU"); return; } + // 32- or 64-lane waves (not WARP / the Basic Render Driver: 4): the driver rejects the + // translated program otherwise + if runner::wave64_programs_supported() != Ok(true) { + println!("no 32- or 64-lane waves – skipping"); + runner::skip_test("no wave64"); + return; + } if !pso_async::enabled() { println!("XCL_ASYNC_PSO=0 – skipping"); return;