[clang] [MLIR][NVGPU] Introduce `nvgpu.wargroup.mma.store` Op for Hopper GPUs (PR #65441)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 4 07:20:32 PDT 2023


================
@@ -53,6 +55,16 @@ static Value truncToI32(ConversionPatternRewriter &rewriter, Location loc,
   return rewriter.create<LLVM::TruncOp>(loc, rewriter.getI32Type(), value);
 }
 
+/// Returns warp-size as a value.
+static Value getWarpSizeValue(ImplicitLocOpBuilder &b) {
----------------
qcolombet wrote:

Is there an interest in having a singleton here as opposed to just storing the result in a variable in the related place?

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


More information about the cfe-commits mailing list