[Openmp-commits] [PATCH] D143775: [Libomptarget] Implement the host memory allocator with coarse memory
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Feb 13 03:10:48 PST 2023
JonChesterfield added a comment.
I believe coarse/fine grain and accessibility are orthogonal concepts. If the coarse grain pool happens to have the accessibility properties of "target_host", then it'll work. That may be target specific and even order of pool iteration specific.
Much safer would be to identify a memory pool with the properties that the given allocator specifies and return that. Coarse grain means synchronised on kernel boundaries iiuc.
So what is a target_host_mem allocator?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143775/new/
https://reviews.llvm.org/D143775
More information about the Openmp-commits
mailing list