llvm-project/openmp/libomptarget/test/offloading
Alexey Bataev b19c0810e5 [LIBOMPTARGET]Ignore empty target descriptors.
Summary:
If the dynamically loaded module has been compiled with -fopenmp-targets
and has no target regions, it has empty target descriptor. It leads to a
crash at the runtime if another module has at least one target region
and at least one entry in its descriptor. The runtime library is unable
to load the empty binary descriptor and terminates the execution.
Caused by a clang-offload-wrapper.

Reviewers: grokos, jdoerfert

Subscribers: caomhin, kkwli0, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D72472
2020-01-10 09:45:27 -05:00
..
dynamic_module.c [LIBOMPTARGET]Ignore empty target descriptors. 2020-01-10 09:45:27 -05:00
looptripcnt.c [OPENMP] Resolve lost LoopTripCnt for subsequent loops in same thread. 2019-07-17 17:07:52 +00:00
offloading_success.c
offloading_success.cpp
requires.c [OpenMP][libomptarget] Add support for unified memory for regular maps 2019-08-07 17:29:45 +00:00
target_depend_nowait.cpp [OPENMP]Fix threadid in __kmpc_omp_taskwait call for dependent target calls. 2019-07-16 15:51:32 +00:00