Skip to content

Clarification: Does the standalone XLA CPU backend really lower HLO ops (e.g. dot/GEMM) into Eigen’s C++ routines? #28673

Answered by dfm
a80908 asked this question in Q&A
Discussion options

You must be logged in to vote

It's hard to provide too much useful feedback without more details about why you want to know this information :D, but it looks like that statement is currently accurate for dot at least. Here's the relevant XLA source code AFAICT: https://github.com/openxla/xla/blob/9c8f9ea2bd606918b25d881cfcf78a68ca1bc642/xla/backends/cpu/runtime/dot_thunk.h

But, even as a full time JAX developer, I wouldn't say that I know all the details of exactly how every HLO op gets implemented in the CPU backend. If you have specific cases where it would be useful to understand the full lowering path for a particular operation, you might get more useful feedback on the XLA repo!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@a80908
Comment options

Answer selected by a80908
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