[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP][OMPIRBuilder] Add lowering support for omp.target_triples (PR #100156)

Pranav Bhandarkar via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 23 14:50:03 PDT 2024


================
@@ -7053,13 +7053,28 @@ OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::emitTargetTask(
                     << "\n");
   return Builder.saveIP();
 }
+
 static void emitTargetCall(
     OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder,
     OpenMPIRBuilder::InsertPointTy AllocaIP, Function *OutlinedFn,
     Constant *OutlinedFnID, int32_t NumTeams, int32_t NumThreads,
     SmallVectorImpl<Value *> &Args,
     OpenMPIRBuilder::GenMapInfoCallbackTy GenMapInfoCB,
     SmallVector<llvm::OpenMPIRBuilder::DependData> Dependencies = {}) {
+  //  emitKernelLaunch
----------------
bhandarkar-pranav wrote:

Minor nit : Consider making it clear in the comment here that this is a host-to-host launch?

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


More information about the llvm-branch-commits mailing list