Skip to content

GPU buffer pool ​

Buffers reused across calls must not carry one run's data into the next

5/5 passed in 63ms

TestWhat it doesResult
test_empty_stays_cheapRepeated empty dispatches keep reporting a finite, positive latency.✅ pass
test_fused_after_splitA split run in between leaves the fused answer bit-identical, the split arm owning an extra phase array.✅ pass
test_plan_is_rewrittenChanging the link between calls changes the answer, and changing back restores it.✅ pass
test_small_after_largeA small run is bit-identical before and after a larger one: a run reading past its block count would fold in stale partials.✅ pass
test_words_after_wordsA short Threefry request after a long one still matches the reference.✅ pass