[Openmp-commits] [openmp] 3351ae6 - [Libomptarget] Remove duplicate data environment exit
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jun 21 19:36:12 PDT 2022
Author: Joseph Huber
Date: 2022-06-21T22:35:32-04:00
New Revision: 3351ae61d9cb14fdbbde33176ce2030ef94f5f66
URL: https://github.com/llvm/llvm-project/commit/3351ae61d9cb14fdbbde33176ce2030ef94f5f66
DIFF: https://github.com/llvm/llvm-project/commit/3351ae61d9cb14fdbbde33176ce2030ef94f5f66.diff
LOG: [Libomptarget] Remove duplicate data environment exit
Summary:
This patch removes a duplicated exit from the OpenMP data envrionment.
We already have an RAII method that guards this environment so it is
unnecessary.
Added:
Modified:
openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp b/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
index a4c73bd22759f..20b279e2772c5 100644
--- a/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
@@ -90,7 +90,6 @@ void __kmpc_parallel_51(IdentTy *ident, int32_t, int32_t if_expr,
state::DateEnvironmentRAII DERAII(ident);
++icv::Level;
invokeMicrotask(TId, 0, fn, args, nargs);
- state::exitDataEnvironment();
return;
}
More information about the Openmp-commits
mailing list