[OpenMP] Change target memory tests to use allocators
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 6 Apr 2022 19:21:50 +0000 (15:21 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Thu, 7 Apr 2022 18:23:14 +0000 (14:23 -0400)
commit840c040498f3fad2875c72248862292796795dd1
tree1f745495ba98a738936d80d5cce4f2daf8f71c5b
parent2f78b43f4bafaed09f6549da393bd9ee056ed851
[OpenMP] Change target memory tests to use allocators

The target allocators have been supported for NVPTX offloading for
awhile. The tests should use the allocators instead of calling the
functions manually. Also the comments indicating these being a preview
should be removed.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D123242
openmp/libomptarget/test/api/omp_device_managed_memory_alloc.c [new file with mode: 0644]
openmp/libomptarget/test/api/omp_device_memory.c [new file with mode: 0644]
openmp/libomptarget/test/api/omp_host_pinned_memory_alloc.c [new file with mode: 0644]
openmp/runtime/src/dllexports
openmp/runtime/src/include/omp.h.var
openmp/runtime/src/include/omp_lib.f90.var
openmp/runtime/src/include/omp_lib.h.var
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_alloc.cpp
openmp/runtime/src/kmp_global.cpp
openmp/runtime/src/kmp_stub.cpp