[Mlir-commits] [mlir] [mlir][nvgpu] add `nvgpu.rcp` op (PR #100965)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jul 29 02:03:10 PDT 2024


================
@@ -802,4 +803,16 @@ def NVGPU_WarpgroupMmaInitAccumulatorOp : NVGPU_Op<"warpgroup.mma.init.accumulat
   let hasVerifier = 1;
 }
 
+def NVGPU_RcpApproxOp : NVGPU_Op<"rcp_approx", [
+  Pure, SameOperandsAndResultType
+]> {
+  let summary = "A wrapper of nvvm rcp.approx.ftz.f";
----------------
Observer007 wrote:

Done.

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


More information about the Mlir-commits mailing list