Repository navigation
[spirv] Push GPU target conversion to before SPIR-V conversion - #17816
Merged
Merged
Conversation
This commit moves the `SPIRVConvertGPUTargetPass` to right before the `ConvertToSPIRVPass` in the pipeline. This makes sure we use the same `#iree_gpu.target` in the majority of the configuration and lowering passes in the CodeGen flow, and scopes the SPIR-V target environment to only the final SPIR-V conversion. With this, we are able to unify and simplify lots of SPIR-V tests. Signed-off-by: Lei Zhang <[email protected]>
antiagainst
force-pushed
the
spirv-target-pushdown
branch
from
July 5, 2024 21:18
1eb71c0 to
619be9b
Compare
antiagainst
marked this pull request as ready for review
July 9, 2024 05:54
antiagainst
requested review from
MaheshRavishankar,
kuhar and
qedawkins
as code owners
July 9, 2024 05:54
kuhar
approved these changes
Jul 9, 2024
7 of 21 tasks
LLITCHEV
pushed a commit
to LLITCHEV/iree
that referenced
this pull request
Jul 30, 2024
…org#17816) This commit moves the `SPIRVConvertGPUTargetPass` to right before the `ConvertToSPIRVPass` in the pipeline. This makes sure we use the same `#iree_gpu.target` in the majority of the configuration and lowering passes in the CodeGen flow, and scopes the SPIR-V target environment to only the final SPIR-V conversion. With this, we are able to unify and simplify lots of SPIR-V tests. Progress towards iree-org#16341 ci-extra: test_nvidia_gpu,test_nvidia_a100,test_amd_mi250,test_amd_w7900,build_test_all_macos_arm64,build_and_test_android --------- Signed-off-by: Lei Zhang <[email protected]> Signed-off-by: Lubo Litchev <[email protected]>
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 commit moves the
SPIRVConvertGPUTargetPassto right before theConvertToSPIRVPassin the pipeline. This makes sure we use the same#iree_gpu.targetin the majority of the configuration and lowering passes in the CodeGen flow, and scopes the SPIR-V target environment to only the final SPIR-V conversion. With this, we are able to unify and simplify lots of SPIR-V tests.Progress towards #16341
ci-extra: test_nvidia_gpu,test_nvidia_a100,test_amd_mi250,test_amd_w7900,build_test_all_macos_arm64,build_and_test_android