triton
triton copied to clipboard
Stronger checks on ScanOp and ReduceOp
Addresses the discussion at https://github.com/openai/triton/pull/3111#discussion_r1488366197
Addressed the comments and rebased. Will add tests tomorrow. cc @ThomasRaoux @joker-eph in case you have more comments
Lit test to check this? (We already have a file for this, I think it's called invalid.mlir.)
+1 this should go here: triton/test/Triton/invalid.mlir
Added a few tests.
Can you fix the failing lit tests?
Fixed. There was a bit of a mix-up with RankedTensorTypes and ElementTypes. Now it should be fine.