Shader tests: the waterfall tests take the GPU one at a time, with the VALU tests
The four tests of emit/waterfall_tests.rs each dispatch on the hardware adapter and on WARP. Run in parallel, the test process sometimes died of an access violation (7 of 24 runs of these four tests on an integration branch; an image test beside a VALU test does the same on WARP). They now take the VALU tests' lock, which moves out of `run_cases` to be shared. With it: 340 workspace tests pass with VICTORY_WARP=1, as on a CI runner, and the shader tests pass on the RTX 5070. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
f28a9f462e
commit
0e1bdf32ea
2 files changed
+13
-4
No files matched your search
@@ -106,6 +106,12 @@ fn run(shader: &HostShader, views: &[View]) -> Vec<(&'static str, Vec<u32>)> {
|
||||
..Default::default()
|
||||
}];
|
||||
let mut out = Vec::new();
|
||||
// One GPU test at a time, with the VALU tests: in parallel on the
|
||||
// hardware adapter and WARP the test process sometimes died of an
|
||||
// access violation (7 of 24 runs of these four tests).
|
||||
let _one = super::valu_tests::ONE_AT_A_TIME
|
||||
.lock()
|
||||
.unwrap_or_else(|e| e.into_inner());
|
||||
for (label, warp) in [("hardware", false), ("warp", true)] {
|
||||
let Ok(host) = Host::new(warp) else {
|
||||
eprintln!("no SM 6.6 {label} device; skipped");
|
||||
|
||||
Reference in new issue
Block a user