Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL] Correctly spell out SM version macro when AOT compiling #15615

Merged
merged 1 commit into from
Oct 9, 2024

Commits on Oct 7, 2024

  1. [SYCL] Correctly spell out SM version macro when AOT compiling

    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`.
    jchlanda committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    6636337 View commit details
    Browse the repository at this point in the history