[libc-commits] [PATCH] D151735: [libc] Implement basic `malloc` and `free` support on the GPU
Jon Chesterfield via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue May 30 10:22:09 PDT 2023
JonChesterfield added a comment.
HSA should be fine allocating memory while kernels are running. At least it won't deadlock. Cuda needs a separate stream for various things, I think mmap succeeded without one but marking the result as GPU accessible deadlocks.
I'm not sure whether 'malloc' should be GPU local or system wide by default.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151735/new/
https://reviews.llvm.org/D151735
More information about the libc-commits
mailing list