[Openmp-commits] [PATCH] D102000: [libomptarget] Add support for target memory allocators to cuda RTL
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat May 8 06:15:31 PDT 2021
jhuber6 added inline comments.
================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:327
+ void *HostPtr;
+ Err = cuMemAllocHost(&HostPtr, Size);
+ MemAlloc = HostPtr;
----------------
xiangzhangllvm wrote:
> Sorry, where is the def of "cuMemAllocHost"? I didn't find it.
https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__MEM.html#group__CUDA__MEM_1gdd8311286d2c2691605362c689bc64e0
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102000/new/
https://reviews.llvm.org/D102000
More information about the Openmp-commits
mailing list