aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorHansang Bae <hansang.bae@intel.com>2021-02-12 17:36:02 -0600
committerHansang Bae <hansang.bae@intel.com>2021-03-02 16:45:12 -0600
commitb6c2f538b22b4053ce10cfa6cf60c5244df202ac (patch)
tree8a29c1586f44155235602d18c5409320c09b5676 /llvm/lib/FileCheck/FileCheck.cpp
parenteadece333f6112502046fad0f2c062d13a37079b (diff)
downloadllvm-b6c2f538b22b4053ce10cfa6cf60c5244df202ac.zip
llvm-b6c2f538b22b4053ce10cfa6cf60c5244df202ac.tar.gz
llvm-b6c2f538b22b4053ce10cfa6cf60c5244df202ac.tar.bz2
[OpenMP] Add allocator support for target memory
This is a preview of allocator support for target memory that depends on the offload runtime API which allocates memory as described below. llvm_omp_target_alloc_host(size_t size, int device_num); -- Returns non-migratable memory owned by host. -- Memory is accessible by host and device(s). llvm_omp_target_alloc_shared(size_t size, int device_num); -- Returns migratable memory owned by host and device. -- Memory is accessible by host and device. llvm_omp_target_alloc_device(size_t size, int device_num); -- Returns memory owned by device. -- Memory is only accessible by device. New memory space and predefined allocator names are -- llvm_omp_target_host_mem_space -- llvm_omp_target_shared_mem_space -- llvm_omp_target_device_mem_space -- llvm_omp_target_host_mem_alloc -- llvm_omp_target_shared_mem_alloc -- llvm_omp_target_device_mem_alloc Differential Revision: https://reviews.llvm.org/D96669
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions