Re:Beating C with Futhark Running on GPU
by jacquesm on Friday October 25, 2019 @09:50PM
(#21361102)
For a slightly improved version, place a sentinel (say a 4 byte magic number) just before and after the allocated segment. Check on FREE_MEMORY if they're still there. Not perfect but pretty good as an early warning system.
[ Parent
| on HN ]