mirror of
https://github.com/ivall/xcl.git
synced 2026-11-24 05:14:57 +01:00
Tests: the compute PSO-hook end-to-end tests skip on an adapter without 32- or 64-lane waves (WARP)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user