upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/buffer_bounds.md
diff options
context:
space:
mode:
authorTauwni <102470988+Tauwni@users.noreply.github.com>2026-11-26 04:01:08 +0100
committerTauwni <102470988+Tauwni@users.noreply.github.com>2026-11-26 04:01:08 +0100
commit5af6cd3d69dc69baec78aa06fc418fc4bcbf83b5 (patch)
tree4529bc04eac714e9c393fb1085bb1d67169843c0 /docs/buffer_bounds.md
parent459cbb9b19193ffd4fbb18442497bc885de8c728 (diff)
parent7f3d0095a2d51892bc7048f24505c37168f25c34 (diff)
Merge remote-tracking branch 'origin/main' into gpu-results-m3
# Conflicts: # docs/gpu_test_results.md
Diffstat (limited to 'docs/buffer_bounds.md')
-rw-r--r--docs/buffer_bounds.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/buffer_bounds.md b/docs/buffer_bounds.md
index f5b4e6a55..a2d566bc1 100644
--- a/docs/buffer_bounds.md
+++ b/docs/buffer_bounds.md
@@ -23,6 +23,11 @@ API-created CBVs mirror the observed inline console descriptor (mode 0, 16-byte
23 23
24- **RDNA2 follows Mesa's GFX11 column**, not the GFX10 one: of 732 cases, 729 match GFX11 and 696 match GFX10. 24- **RDNA2 follows Mesa's GFX11 column**, not the GFX10 one: of 732 cases, 729 match GFX11 and 696 match GFX10.
25 Every GFX10 miss is an access that only partly fits, for example a raw buffer with `N = 3` read at offset 0. 25 Every GFX10 miss is an access that only partly fits, for example a raw buffer with `N = 3` read at offset 0.
26- **The offset is not cut to 32 bits.** `index * stride` is a full product and `soffset` is added in 64 bits, so
27 index 0xFFFFFFFF with a 20-byte stride lands tens of GiB past the base and the access has no effect; in 32 bits it
28 would be the 20 bytes below the base, which modes 2 and 3 do not refuse. The translator treats an offset above
29 0xFFFFFFFF as out of range in every mode. Observed on hardware by five-star-recomp (commit `b9b57e2`), not measured
30 here; `tests/semantic/test_buffer_offset_wrap.py`.
26- **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at 31- **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at
27 offset 8 with `soffset` 8 and `N = 18`: 8 + 8 + 4 > 18, out of range on hardware. 32 offset 8 with `soffset` 8 and `N = 18`: 8 + 8 + 4 > 18, out of range on hardware.
28- Loads and stores agree in every case. 33- Loads and stores agree in every case.