[all-commits] [llvm/llvm-project] a15f85: [libomptarget] Add support for target memory alloc...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri May 7 07:30:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a15f8589f4e81973b096a5ccc7b5b687c3284ebe
      https://github.com/llvm/llvm-project/commit/a15f8589f4e81973b096a5ccc7b5b687c3284ebe
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M openmp/libomptarget/plugins/common/MemoryManager/MemoryManager.h
    M openmp/libomptarget/plugins/cuda/src/rtl.cpp
    A openmp/libomptarget/test/api/omp_device_managed_memory.c
    A openmp/libomptarget/test/api/omp_host_pinned_memory.c

  Log Message:
  -----------
  [libomptarget] Add support for target memory allocators to cuda RTL

Summary:
The allocator interface added in D97883 allows the RTL to allocate shared and
host-pinned memory from the cuda plugin. This patch adds support for these to
the runtime.

Reviewed By: grokos

Differential Revision: https://reviews.llvm.org/D102000




More information about the All-commits mailing list