Skip to content

Commit 3351ae6

Browse files
committed
[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.
1 parent b7cc3b1 commit 3351ae6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openmp/libomptarget/DeviceRTL/src/Parallelism.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ void __kmpc_parallel_51(IdentTy *ident, int32_t, int32_t if_expr,
9090
state::DateEnvironmentRAII DERAII(ident);
9191
++icv::Level;
9292
invokeMicrotask(TId, 0, fn, args, nargs);
93-
state::exitDataEnvironment();
9493
return;
9594
}
9695

0 commit comments

Comments
 (0)