-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL][Driver] Fix suggested target triple in the warning message (#4475
) The warning message emitted for deprecated target triple includes suggested target triple to be used instead of deprecated one. Currently it prints only architecture component of the target triple, which works only for SPIR target architecture. Non-SPIR targets may support multiple vendor/OS components, so users are expected to specify the full triple. This patch fixes the warning message and suggests all components set before deprecated `sycldevice` environment component if they are not "unknown" (which is default and can be omitted).
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 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