[Openmp-commits] [PATCH] D143775: [Libomptarget] Implement the host memory allocator with coarse memory
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Feb 13 05:31:17 PST 2023
jhuber6 added a comment.
In D143775#4122646 <https://reviews.llvm.org/D143775#4122646>, @JonChesterfield wrote:
> In D143775#4122610 <https://reviews.llvm.org/D143775#4122610>, @jhuber6 wrote:
>
>> I interpreted it to mean that it's pinned memory that the device can access. I'm pretty sure coarse memory fits the bill there
>
> I don't think that's what coarse grain means.
I think the CUDA plugin right now just allocates pinned memory. We could do the same here just using `new` and the `hsa_amd_memory_lock`. Would be consistent at least.
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