-
Notifications
You must be signed in to change notification settings - Fork 4
[FXML-5890] Order tiling worklist #532
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
Conversation
|
I tried to use the result op order within the slice as a reference instead of counting remarks, but it turns out it does not match: and the output is: %4 = scf.for %arg1 = %c0 to %c256 step %c32 iter_args(%arg2 = %3) -> (tensor<256xf32>) {
[...]
%6 = linalg.ceil ins(%extracted_slice : tensor<32xf32>) outs(%extracted_slice_1 : tensor<32xf32>) -> tensor<32xf32>
[...]
%8 = linalg.ceil ins(%extracted_slice_2 : tensor<32xf32>) outs(%extracted_slice_4 : tensor<32xf32>) -> tensor<32xf32>
[...]
%10 = linalg.negf ins(%8 : tensor<32xf32>) outs(%extracted_slice_6 : tensor<32xf32>) -> tensor<32xf32>
[...]
%12 = linalg.powf {tile} ins(%6, %10 : tensor<32xf32>, tensor<32xf32>) outs(%extracted_slice_8 : tensor<32xf32>) -> tensor<32xf32>
%inserted_slice = tensor.insert_slice %12 into %arg2[%arg1] [32] [1] : tensor<32xf32> into tensor<256xf32>
scf.yield %inserted_slice : tensor<256xf32>
}so |
As the output is only for testing, I suggest to use a pass option + output on llvm::errs(). |
|
Instead of using the error output, I went for an attribute. I guess it's a bit neater than resorting to a remark that then gets caught back, and is likely not getting used in production contexts. I'm all for a pass option, unfortunately |
There are a few tests that use |
mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.td
Outdated
Show resolved
Hide resolved
|
Can you add a test case that uses |
Co-authored-by: Matthias Gehre <[email protected]>
This PR gives the possibility to change the order in which tiling happens along with fusion.