triton
triton copied to clipboard
how to understand "SplatOpConversion" and "ArithConstantSplatOpConversion"
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?