You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move tensor layout verifier impl into dialect interface (#5312)
As discussed in #5302 this moves the TTG tensor layout verification into
a dialect interface while keeping the op verification inside the trait
verifier. It seemed like the op trait was still the best way to run the
verifier on all operations, with the business logic of verifying
specific attributes moved to the relevant dialects. The signature of
`DialectVerifyTensorLayoutInterface::verifyTensorLayout` is very
specific to the TritonGPU dialect attributes we want to verify - we
could also probably simplify the signature to just take a `mlir::Value`
and the layout attribute to verify but I wanted to keep things close to
the initial implementation to start.
@Jokeren@ThomasRaoux@peterbell10 please let me know if this is in the
right direction, I am happy to make changes if needed.
Co-authored-by: Lei Zhang <[email protected]>
0 commit comments