Repository navigation
Ukernels: replace boilerplate by tables. - #16879
Merged
Merged
Conversation
bjacob
force-pushed
the
bjacob-ukernel-boilerplate-table
branch
from
March 22, 2024 14:32
4fbb6e3 to
01f0b27
Compare
bjacob
force-pushed
the
bjacob-ukernel-boilerplate-table
branch
from
March 22, 2024 14:46
01f0b27 to
726b960
Compare
bjacob
force-pushed
the
bjacob-ukernel-boilerplate-table
branch
from
March 22, 2024 15:07
726b960 to
0589a83
Compare
bjacob
marked this pull request as ready for review
March 22, 2024 15:48
Abbreviated Benchmark Summary@ commit a0f11350df3483fb766ef1ca1aab64625d729feb (vs. base aa72368e1c9803ea1bfc37aac984d08a4c274cb4) Data-Tiling Comparison TableClick to show
Improved Latencies 🎉
[Top 3 out of 13 results showed] No improved or regressed compilation metrics 🏖️ For more information: |
benvanik
approved these changes
Mar 27, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This -650 lines shrink comes from introducing tables (the .inl files) where we declare the mmt4d tile functions. From that, we can generate not only the declarations but also the whole
select_tile_funclogic.While this PR stands on its own, there is a subtext here that in a subsequent PR (#16880) I'm going to argue --- against all common sense! --- for actually exporting these tables, as an interim solution to the problem discussed in #16848 until the better solutions outlined there can land. Don't want this to be a distraction on this PR as the tables are not being exported here, and they are justified by independent reasons here.
That is entirely within the
arch/subdir. The only other part of this PR outside ofarchis a renaming:mmt4d_tile.conly contains the generic (fallback) tile functions, so made its name reflect that.I tried hard to also drop the whole CMake configure-checks and configured-headers and for
IREE_UK_BUILD..., tried moving that back into the C files as checks of compiler versions, but ran again into the mystery about the CI jobsbuild_test_all_windowsandbuild_test_runtime_windowshaving a very different MSVC behavior there despite being the exact same version, as noted earlier in #16637.