[all-commits] [llvm/llvm-project] 17330a: [OpenMP] Avoid reading uninitialized parallel leve...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Fri Apr 23 09:22:19 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 17330a3cb13aed9743f3f60eb8310c06aa34f1ca
https://github.com/llvm/llvm-project/commit/17330a3cb13aed9743f3f60eb8310c06aa34f1ca
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
M openmp/libomptarget/deviceRTLs/common/src/parallel.cu
Log Message:
-----------
[OpenMP] Avoid reading uninitialized parallel level values
In a last minute change request for a2dbfb6b72db 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
More information about the All-commits
mailing list