Lines Matching defs:launchOp
438 matchAndRewrite(gpu::LaunchFuncOp launchOp, OpAdaptor adaptor,
948 gpu::LaunchFuncOp launchOp, OpAdaptor adaptor,
950 if (failed(areAllLLVMTypes(launchOp, adaptor.getOperands(), rewriter)))
953 if (launchOp.getAsyncDependencies().size() > 1)
955 launchOp, "Cannot convert with more than one async dependency.");
960 if (!launchOp.getAsyncToken() && !launchOp.getAsyncDependencies().empty())
962 launchOp, "Cannot convert non-async op with async dependencies.");
964 Location loc = launchOp.getLoc();
971 else if (launchOp.getAsyncToken())
977 OperandRange origArguments = launchOp.getKernelOperands();
988 launchOp,
997 launchOp, "Operand to launch op is not a memref.");
1003 launchOp, "Operand to launch op is not a memref with a static "
1010 launchOp, "Operand to launch op is not a memref with a "
1025 if (launchOp.hasClusterSize()) {
1031 launchOp.getLoc(), launchOp.getKernelAttr(),
1039 if (launchOp.getAsyncToken())
1040 rewriter.replaceOp(launchOp, {stream});
1042 rewriter.eraseOp(launchOp);