-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust/build.rs: provide a way to control the choice between CUDA and R…
…OCm.
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 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
Rust features are not for coercion, they are inherently additive and should be opt-in.
Right now it is impossible to disable both CUDA and ROCm with
default-features = false
and default feature selected is non-deterministic (depends on compilers present on the host system rather than features user specified or not specified).