[llvm] [mlir] [OpenMPIRBuilder] Do not call host runtime for GPU teams codegen (PR #79984)

Sergio Afonso via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 04:42:03 PST 2024


================
@@ -6342,6 +6345,10 @@ OpenMPIRBuilder::createTeams(const LocationDescription &Loc,
     }
   };
 
+  if (!Config.isTargetDevice()) {
----------------
skatrak wrote:

Nit: Remove braces

https://github.com/llvm/llvm-project/pull/79984


More information about the llvm-commits mailing list