llvm-project/openmp/libomptarget/test/offloading
Shilei Tian b68a6b09e6 [OpenMP][libomptarget] Fixed an issue that device sync is skipped if the kernel doesn't have any argument
Currently if there is not kernel argument, device synchronization will
be skipped. This can lead to two issues:
1. If there is any device error, it will not be captured;
2. The target region might end before the kernel is done, which is not spec
   conformant.

The test added in this patch only runs on NVPTX platform, although it will not
be executed by Phab at all. It also requires `not` which is not available on most
systems.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D96067
2021-02-04 20:14:24 -05:00
..
assert.cpp [OpenMP][libomptarget] Fixed an issue that device sync is skipped if the kernel doesn't have any argument 2021-02-04 20:14:24 -05:00
bug47654.cpp [Clang][OpenMP] Fixed an issue of segment fault when using target nowait 2020-10-26 22:33:22 -04:00
bug49021.cpp [OpenMP][NVPTX] Take functions in `deviceRTLs` as `convergent` 2021-02-03 20:58:12 -05:00
d2d_memcpy.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
dynamic_module.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
dynamic_module_load.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
info.c [OpenMP] Add using bit flags to select Libomptarget Information 2021-01-04 12:03:15 -05:00
looptripcnt.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
memory_manager.cpp [OpenMP] Introduce target memory manager 2020-08-19 23:12:23 -04:00
non_contiguous_update.cpp [libomptarget] Add support for target update non-contiguous 2020-11-19 11:33:27 -06:00
offloading_success.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
offloading_success.cpp [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
parallel_offloading_map.cpp [OpenMP] Fixed an issue in the test case parallel_offloading_map 2020-11-03 15:59:16 -05:00
requires.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
target_depend_nowait.cpp [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00