[all-commits] [llvm/llvm-project] 6da348: [libomptarget] Add support for target allocators t...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Mon May 10 07:28:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6da348569cd20632d8ee2213fbab59850e133eb0
      https://github.com/llvm/llvm-project/commit/6da348569cd20632d8ee2213fbab59850e133eb0
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp
    M openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h

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

[libomptarget] Add support for target allocators to dynamic cuda RTL

Follow on to D102000 which introduced new calls into libcuda. This patch adds
the corresponding entry points to dynamic_cuda, fixing the build for systems
that do not have the cuda toolkit installed.

Function types and enum from https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__MEM.html

Reviewed By: pdhaliwal

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




More information about the All-commits mailing list