[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
Thu May 6 09:48:00 PDT 2021


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, grokos.
jhuber6 added a project: OpenMP.
Herald added a subscriber: yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.

The allocator interface added in D97883 <https://reviews.llvm.org/D97883> allows the RTL to allocate shared and
host-pinned memory from the cuda plugin. This patch adds support for these to
the runtime.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102000

Files:
  openmp/libomptarget/plugins/common/MemoryManager/MemoryManager.h
  openmp/libomptarget/plugins/cuda/src/rtl.cpp
  openmp/libomptarget/test/api/omp_device_managed_memory.c
  openmp/libomptarget/test/api/omp_host_pinned_memory.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102000.343439.patch
Type: text/x-patch
Size: 7550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210506/55ce2b40/attachment-0001.bin>


More information about the Openmp-commits mailing list