-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Correctly spell out SM version macro when AOT compiling (#15615)
There was a typo resulting in the compiler using `*_SM[0-9][9-9]__` format when the SM was not supported: `#define __SYCL_TARGET_NVIDIA_GPU_SM50__ 0` vs: `#define __SYCL_TARGET_NVIDIA_GPU_SM_50__ 1` for the supported SM version. Prefer the underscore (`*_SM_[0-9][9-9]__`), as this is what CUDA uses, for example when specifying `gpu-name` switch for `ptxas`.
- Loading branch information
Showing
2 changed files
with
71 additions
and
71 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