Repository navigation
Integrate Linalg on tensors path to rest of CPU backend (Part 1) - #4563
Conversation
Current implementation of the Linalg on tensors path is only tested with static tile sizes specified at command line. In this PR - Use `flow.dispatch.workgroup.size` to represetn the dynamic tile size used - After conversion to HAL, where `flow.dispatch.workgroup.size` gets replaced by `hal.interface.workgroup.size`, use LaunchConfig to set the value of `hal.interface.workgroup.size` to a static value. - This effectively replace the first level of tiling done by the existing codegen paths. The rest of the codegen can then be used with this path. Also included all minor fixes needed to plumb everything through.
30914e1 to
1431f27
Compare
1431f27 to
8fa3827
Compare
| @@ -0,0 +1,65 @@ | |||
| // Copyright 2020 Google LLC | |||
There was a problem hiding this comment.
We are in 2021 now. :p
(I'm not pretty sure if we update license in new files to 2021)
There was a problem hiding this comment.
I changed it to 2019. I think we have a script for license headers?
There was a problem hiding this comment.
We have a script to generate the cmakelist file with copyright. If the cmakelist file already has copyright, it will be ignored. Otherwise, the copyright will be datetime.date.today().year. Thus I think all new files should use the current year. But I guess it is not a big deal, I actually don't really know the convention about this.
There was a problem hiding this comment.
Year should match when the file was created (which could be different from when the file was committed to a branch). Do not update the year when moving or copying a file. Do not update the year when the year changes.
Current implementation of the Linalg on tensors path is only tested
with static tile sizes specified at command line. In this PR
flow.dispatch.workgroup.sizeto represent the dynamic tilesize used
flow.dispatch.workgroup.sizegetsreplaced by
hal.interface.workgroup.size, use LaunchConfig to setthe value of
hal.interface.workgroup.sizeto a static value.existing codegen paths. The rest of the codegen can then be used
with this path.
Also included all minor fixes needed to plumb everything through.