History log of /llvm-project/libc/src/stdlib/gpu/aligned_alloc.cpp (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2
# bf42a786 30-Jul-2024 Joseph Huber <huberjn@outlook.com>

[libc] Implement placeholder memory functions on the GPU (#101082)

Summary:
These functions are needed for `libc++` to link successfully. We can't
implement them well currently, so simply provide

[libc] Implement placeholder memory functions on the GPU (#101082)

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™.

show more ...