gpu, docs: fix timing test skip guard and document Windows ARM64 build on RTX Spark

- Subtract submit_ms when checking the execution window in gpu_time_tracks_execution_not_submission (wall_ms - submit_ms < 3.0 * submit_ms).
- Document clang-cl requirement for Windows on ARM64 (aarch64-pc-windows-msvc) builds in docs/development.md.
- Add [people.mweinbach] to contributors/people.toml per AGENTS.md.
This commit is contained in:
mweinbach committed 2026-10-19 21:04:51 -04:00
1 parent 3a896a5efc
commit ee0fe906a2
3 files changed
+11 -4

No files matched your search

+3
View File
@@ -72,6 +72,9 @@ sync_github_name = true
[people.maxm11]
sync_github_name = true
[people.mweinbach]
sync_github_name = true
[people.skraus2]
sync_github_name = true
+5 -3
View File
@@ -138,9 +138,11 @@ fn gpu_time_tracks_execution_not_submission() {
assert_eq!(t.px, area(full), "the measurement carries the pixels of the refresh it measured");
assert!(t.spans >= 1, "at least one command buffer was timed");
// The premise: on this adapter the refresh really is dominated by GPU execution. A machine
// fast enough that it isn't cannot tell the two timings apart, so say so instead of failing.
if wall_ms < 3.0 * submit_ms {
// The premise: on this adapter the refresh really is dominated by GPU execution. `wall_ms`
// includes `submit_ms`, so the GPU execution window is `wall_ms - submit_ms`; a machine fast
// enough that this window isn't well above `3.0 * submit_ms` cannot tell the two timings
// apart, so say so instead of failing.
if wall_ms - submit_ms < 3.0 * submit_ms {
eprintln!("SKIP the comparison: this GPU finishes a 6 MP composite in {wall_ms:.1} ms against {submit_ms:.1} ms of encoding");
return;
}
+3 -1
View File
@@ -12,7 +12,9 @@
### Windows source builds
Use the Rust MSVC toolchain and install Visual Studio or Microsoft C++ Build Tools with the
**Desktop development with C++** workload. Follow Microsoft's
**Desktop development with C++** workload (on Windows on ARM64 / `aarch64-pc-windows-msvc`, such
as NVIDIA RTX Spark, also select **C++ Clang Compiler for Windows** or ensure `clang-cl.exe` is on
`PATH`, as `aws-lc-sys` needs it to assemble ARMv8 crypto routines). Follow Microsoft's
[Rust setup guide](https://learn.microsoft.com/en-us/windows/dev-environment/rust/setup),
then open a new terminal and check `cargo --version` and `rustc --version`.