[Openmp-commits] [PATCH] D102000: [libomptarget] Add support for target memory allocators to cuda RTL

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 10 06:41:54 PDT 2021


JonChesterfield added inline comments.


================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:364
+      case TARGET_ALLOC_HOST:
+        Err = cuMemFreeHost(TgtPtr);
+        if (!checkResult(Err, "Error returned from cuMemFreeHost\n"))
----------------
cuMemFreeHost needs to be added to dynamic_cuda/cuda.h. Possibly other functions too, don't have this building successfully yet


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