[Openmp-commits] [PATCH] D112144: [OpenMP][FIX] Do not adjust the level after the environment was popped

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 27 16:22:55 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5102c3c61e26: [OpenMP][FIX] Do not adjust the level after the environment was popped (authored by jdoerfert).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112144/new/

https://reviews.llvm.org/D112144

Files:
  openmp/libomptarget/DeviceRTL/src/Parallelism.cpp


Index: openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
===================================================================
--- openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
+++ openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
@@ -199,7 +199,6 @@
 
 void __kmpc_end_serialized_parallel(IdentTy *, uint32_t TId) {
   state::exitDataEnvironment();
-  --icv::Level;
 }
 
 uint16_t __kmpc_parallel_level(IdentTy *, uint32_t) { return omp_get_level(); }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112144.382847.patch
Type: text/x-patch
Size: 455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211027/66e09cae/attachment.bin>


More information about the Openmp-commits mailing list