test/heap_test.bend relies on unsafe/foreign
raw source on the hub · import bend-gpu-heap@0.1.0.0/test/heap_test.bend as Heap_test
Heap.home after GPU work: runs a ! call (so the heap is CUDA managed memory), then moves the heap home twice and
prints what each call covered. Build: bend heap_test.bend -o heap_test && HEAP_TRACE=1 ./heap_test
2 imports
import Base import ../heap.bend as HP
Definitions
def pow2 source · line 6 · raw
@+n:Nat -> U32
def main source · line 14 · raw
IO(Unit)