Skip to content

Comparing code generation with other CPU backend #100

Closed Answered by minjang
vivekvpandya asked this question in Q&A
Discussion options

You must be logged in to vote

We didn't do any specific generated code comparison with triton-shared. At the end of the day, all these approaches lower TritonIR to LLVM IR. So, in that sense, it's highly similar. We still use the same LLVM backend for code generation. The job of the triton compiler is lowering to LLVM IR (sometimes it directly generates inlined assembly code, though). For a simple vector-like operation, we should see the very similar machine code. But, for more complex code like GEMM, the generated code can be different due to the different lowering.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by minjang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants