forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler] Make cuda/hip/vulkan target cl options consistent (iree-or…
…g#17710) This commits changes the command line options for specifying targets for CUDA/HIP/Vulkan to `--iree-<api>-target` and the corresponding feature option to `--iree-<api>-target-features`. This makes more sense given we are not using a triple or a chip anymore--it's more flexible as to accept codenames and product names. This also makes the options consistent. This is a breaking change. Here are the main list of options: Before | After :---: | :---: `--iree-hal-cuda-llvm-target-arch` | `--iree-cuda-target` `--iree-hal-cuda-llvm-target-feature` | `--iree-cuda-target-features` `--iree-rocm-target-chip` | `--iree-hip-target` `--iree-rocm-target-features` | `--iree-hip-target-features` `--iree-vulkan-target-triple` | `--iree-vulkan-target` `--iree-hal-cuda-*` | `--iree-cuda-*` `--iree-rocm-*` | `--iree-hip-*` Progress towards iree-org#16341 ci-extra: test_nvidia_gpu,test_nvidia_a100,test_amd_mi250,build_test_all_macos_arm64,build_and_test_android
- Loading branch information
1 parent
d1ccc8c
commit c44d29b
Showing
32 changed files
with
247 additions
and
187 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
compiler/plugins/target/ROCM/builtins/ukernel/test/argmax_linking.mlir
This file contains 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
8 changes: 4 additions & 4 deletions
8
compiler/plugins/target/ROCM/test/target_device_features.mlir
This file contains 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
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
compiler/src/iree/compiler/Codegen/LLVMGPU/test/convert_to_rocdl.mlir
This file contains 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
This file contains 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
Oops, something went wrong.