Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to understand "SplatOpConversion" and "ArithConstantSplatOpConversion" #4780

Open
Shaquille-Wu opened this issue Sep 22, 2024 · 0 comments

Comments

@Shaquille-Wu
Copy link

Shaquille-Wu commented Sep 22, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant