llvm-project/openmp/libomptarget/deviceRTLs/common
Johannes Doerfert 17330a3cb1 [OpenMP] Avoid reading uninitialized parallel level values
In a last minute change request for a2dbfb6b72 we introduced a
read of the uninitialized parallel level value in SPMD-mode.
We go back to initializing the array early and checking for an
adjusted level.

Found by the miniqmc unit tests:
  https://cdash.qmcpack.org/CDash/viewTest.php?onlyfailed&buildid=203434

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D101123
2021-04-23 11:21:58 -05:00
..
include/target [OpenMP][FIX] Repair accidental replacement of _shfl_sync with _shfl 2021-03-15 22:46:00 -05:00
src [OpenMP] Avoid reading uninitialized parallel level values 2021-04-23 11:21:58 -05:00
allocator.h [OpenMP][deviceRTLs] Build the deviceRTLs with OpenMP instead of target dependent language 2021-01-26 12:28:47 -05:00
debug.h [OpenMP][deviceRTLs] Drop `assert` in common parts of `deviceRTLs` 2021-02-04 12:39:43 -05:00
device_environment.h [libomptarget][nfc] Drop unused DEVICE macro 2021-03-15 20:12:50 +00:00
generated_microtask_cases.gen [OpenMP] Simplify offloading parallel call codegen 2021-04-21 18:46:07 -07:00
omptarget.h [libomptarget][nfc] Drop unused DEVICE macro 2021-03-15 20:12:50 +00:00
omptargeti.h [OpenMP][NFC] clang-format the whole openmp project 2021-02-20 12:46:32 -05:00
state-queue.h
state-queuei.h [OpenMP][NFC] clang-format the whole openmp project 2021-02-20 12:46:32 -05:00
support.h [OpenMP] Simplify offloading parallel call codegen 2021-04-21 18:46:07 -07:00