Skip to content
Open
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
5 changes: 4 additions & 1 deletion crates/xcl/tests/gpu_compute_e2e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ fn heap_window_out_of_memory_falls_back_to_the_switch_form() {
let dev = unsafe { ID3D12Device::from_raw_borrowed(&raw) }.unwrap().clone();
if xcl::gpu::recomp::pso::mem_windows() & xcl::gpu::recomp::HEAP_WINDOWS == 0 {
println!("no heap windows (opt-in: XCL_HEAP_WINDOWS=1; or no shared heap) – skipping");
runner::skip_test("no heap windows");
// not a missing GPU feature, so not runner::skip_test, which panics under XCL_REQUIRE_GPU for
// every reason but its hardware ones (#1651); same line format as skip_test, so test.ps1 counts it
use std::io::Write;
let _ = writeln!(std::io::stderr(), "SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows (opt-in: XCL_HEAP_WINDOWS=1; or no shared heap)");
return;
}
struct StopInjecting;
Expand Down
Loading