summaryrefslogtreecommitdiff
path: root/libc/src/stdlib/gpu/calloc.cpp
AgeCommit message (Collapse)Author
2024-07-30[libc] Implement placeholder memory functions on the GPU (#101082)Joseph Huber
Summary: These functions are needed for `libc++` to link successfully. We can't implement them well currently, so simply provide some stand-in implementations. `realloc` will currently copy garbage and potentially fault and `aligned_alloc` will work unless your alignment is more than 4K alignment. However, these should work in practice to get tests running. I will write a real allocator soon™.