diff --git a/third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/DotOpToLLVM/WGMMA.cpp b/third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/DotOpToLLVM/WGMMA.cpp index 85f7da2cb5b3..6b560d966927 100644 --- a/third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/DotOpToLLVM/WGMMA.cpp +++ b/third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/DotOpToLLVM/WGMMA.cpp @@ -89,8 +89,8 @@ int64_t getSwizzlingFromLayout(const SharedEncodingAttr &layout, return swizzlingByteWidth; } -static Value createDescriptor(ConversionPatternRewriter &rewriter, Location loc, - int64_t swizzling, uint32_t stride) { +Value createDescriptor(ConversionPatternRewriter &rewriter, Location loc, + int64_t swizzling, uint32_t stride) { // Create descriptor based on the format described in the spec: // https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#asynchronous-warpgroup-level-matrix-shared-memory-layout-matrix-descriptor union WGMMADescriptor {