llvm-project/openmp/libomptarget/test
Jennifer Yu 30cc712eb6 [Clang][OpenMP] Fix run time crash when use_device_addr is used.
It is data mapping ordering problem.

According omp spec
If one or more map clauses are present, the list item conversions that
are performed for any use_device_ptr or use_device_addr clause occur
after all variables are mapped on entry to the region according to those
map clauses.

The change is to put mapping data for use_device_addr at end of data
mapping array.

Differential Revision: https://reviews.llvm.org/D134556
2022-09-27 11:53:57 -07:00
..
api [Libomptarget] Change device free routines to accept the allocation kind 2022-09-14 12:14:07 -05:00
env [Libomptarget] Add missing include to define `printf` 2022-06-08 09:56:51 -04:00
mapping [Clang][OpenMP] Fix run time crash when use_device_addr is used. 2022-09-27 11:53:57 -07:00
offloading [OpenMP] add a offload test involving std::complex 2022-09-03 13:28:11 -05:00
unified_shared_memory [Libomptarget] Make unified shared memory test unsupported on AMDGPU 2022-08-30 12:14:25 -05:00
CMakeLists.txt [OpenMP][CMake] Fix an issue when there is space in the argument LIBOMPTARGET_LIT_ARGS 2021-07-18 21:54:14 -04:00
lit.cfg [OpenMP] Deprecate the old driver for OpenMP offloading 2022-08-26 13:47:09 -05:00
lit.site.cfg.in [Libomptarget] Make libomptarget an LLVM library 2022-07-20 15:58:06 -04:00