triton icon indicating copy to clipboard operation
triton copied to clipboard

how to understand "SplatOpConversion" and "ArithConstantSplatOpConversion"

Open Shaquille-Wu opened this issue 5 months ago • 0 comments

hello, triton experts, I learn triton code step by step, and meet some troubles. I have some questions about "ViewOpToLLVM"(triton/lib/Conversion/VenusGPUToLLVM/ViewOpToLLVM.cc), two converstions in this file: "SplatOpConversion" and "ArithConstantSplatOpConversion" 1). I don't understand what is "with SplatElementsAttr", which SplatOp or ConstantOp contain this attribute? 2). I cannot understand "LLVM::LLVMStructType", why triton apply this class? what is its usage?

Is there any one would like to teach me these secret?

Shaquille-Wu avatar Sep 22 '24 12:09 Shaquille-Wu