================ @@ -2342,26 +2345,34 @@ class OpenMPIRBuilder { /// Generate a target region entry call and host fallback call. /// /// \param Loc The location at which the request originated and is fulfilled. - /// \param OutlinedFn The outlined kernel function. /// \param OutlinedFnID The ooulined function ID. /// \param EmitTargetCallFallbackCB Call back function to generate host /// fallback code. /// \param Args Data structure holding information about the kernel arguments. /// \param DeviceID Identifier for the device via the 'device' clause. /// \param RTLoc Source location identifier /// \param AllocaIP The insertion point to be used for alloca instructions. - InsertPointTy emitKernelLaunch( - const LocationDescription &Loc, Function *OutlinedFn, Value *OutlinedFnID, - EmitFallbackCallbackTy EmitTargetCallFallbackCB, TargetKernelArgs &Args, - Value *DeviceID, Value *RTLoc, InsertPointTy AllocaIP); + InsertPointTy + emitKernelLaunch(const LocationDescription &Loc, Value *OutlinedFnID, + EmitFallbackCallbackTy EmitTargetCallFallbackCB, + TargetKernelArgs &Args, Value *DeviceID, Value *RTLoc, + InsertPointTy AllocaIP); + + /// Callback type for generating the bodies of device directives that require + /// outer tasks (e.g. in case of having `nowait` or `depend` clauses). ---------------- bhandarkar-pranav wrote:
<MegaNit> Could you add the word target i.e. target task instead of just task simply because target task is formally defined by the spec. https://github.com/llvm/llvm-project/pull/113305 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits