max / everycycle
- Co-Authored-By
- Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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); |