Skip to main content

max / everycycle

Apply rustfmt across the crate Formatting only, no behavior change. cargo check --all-targets passes.
Co-Authored-By
Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-21 23:46 UTC
Signed with PGP, not checked
Commit: 5619ea1871377790f32c6bb5165738398b8a4a9b
Parent: bb5b0ee
1 file changed, +4 insertions, -1 deletion
@@ -47,7 +47,10 @@
47 47 /// Element count per buffer. 16 Mi f32 → 64 MiB per buffer, 192 MiB
48 48 /// total. Comfortably larger than any L2/LLC so the triad is DRAM-bound.
49 49 const ELEMENTS: u32 = 16 * 1024 * 1024;
50 - const _: () = assert!(ELEMENTS == 16_777_216, "ELEMENTS must equal the N literal in TRIAD_WGSL");
50 + const _: () = assert!(
51 + ELEMENTS == 16_777_216,
52 + "ELEMENTS must equal the N literal in TRIAD_WGSL"
53 + );
51 54 const ELEMENT_BYTES: u32 = 4;
52 55 const BUFFER_BYTES: vk::DeviceSize =
53 56 (ELEMENTS as vk::DeviceSize) * (ELEMENT_BYTES as vk::DeviceSize);