[all-commits] [llvm/llvm-project] 2468fd: [libomptarget] Add allocator support for target me...

George Rokos via All-commits all-commits at lists.llvm.org
Sat Mar 13 03:53:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2468fdd9af361cb46d02d00a52e87067e7078127
      https://github.com/llvm/llvm-project/commit/2468fdd9af361cb46d02d00a52e87067e7078127
  Author: George Rokos <georgios.rokos at intel.com>
  Date:   2021-03-13 (Sat, 13 Mar 2021)

  Changed paths:
    M openmp/libomptarget/include/omptarget.h
    M openmp/libomptarget/include/omptargetplugin.h
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins/cuda/src/rtl.cpp
    M openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
    M openmp/libomptarget/plugins/remote/src/rtl.cpp
    M openmp/libomptarget/plugins/ve/src/rtl.cpp
    M openmp/libomptarget/src/api.cpp
    M openmp/libomptarget/src/device.cpp
    M openmp/libomptarget/src/device.h
    M openmp/libomptarget/src/exports
    M openmp/libomptarget/src/omptarget.cpp
    M openmp/libomptarget/src/private.h
    M openmp/libomptarget/src/rtl.h

  Log Message:
  -----------
  [libomptarget] Add allocator support for target memory

This patch adds the infrastructure for allocator support for target memory.
Three allocators are introduced for device, host and shared memory.
The corresponding API functions have the llvm_ prefix temporarily, until they become part of the OpenMP standard.

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




More information about the All-commits mailing list