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
{{ message }}
Repository navigation
Using LinalgTileAndVectorizeWorkgroupsPass in VMVX backend. #5925
The use of LoweringConfig attribute to drive the tiling+vectorization (or other Linalg transformations) in PR #5842 requires a pre-pass on the dispatch region to introduce that attribute. This is done on the CPU side, but is not invoked on the VMVX side
With the above PR, disabling the use of this pass with VMVX backend for now. It shold be easy to enable use of this pass again based on how the number of workgroups is handled on the VMVX backend.
I tried to re-enable vectorization on the VMVX path. After PR #5934 landed, its easy to use the relevant parts for the VMVX backend. This This enables the vectorization just like it does on the CPU side (accounts for all the configuration, etc. etc.). The part that this gets stuck with is the ConvertToVM pass. It doesnt seem to be able to legalize std.constant here (even though it should). Maybe it is expecting non-index std.constant. I think thought the issue might be with the passpipeline nesting. The pass might be running at the wrong level.
Leaving this aside till now till I can have a chat with Ben about this.
Activity
MaheshRavishankar commentedon May 17, 2021
@benvanik lets chat (when you are available) about how to re-enable this. I dont think its too complicated.
MaheshRavishankar commentedon May 20, 2021
I tried to re-enable vectorization on the VMVX path. After PR #5934 landed, its easy to use the relevant parts for the VMVX backend. This This enables the vectorization just like it does on the CPU side (accounts for all the configuration, etc. etc.). The part that this gets stuck with is the
ConvertToVMpass. It doesnt seem to be able to legalizestd.constanthere (even though it should). Maybe it is expecting non-indexstd.constant. I think thought the issue might be with the passpipeline nesting. The pass might be running at the wrong level.Leaving this aside till now till I can have a chat with Ben about this.