Skip to content

Conversation

@srividya-sundaram
Copy link
Contributor

@srividya-sundaram srividya-sundaram commented Dec 16, 2025

This patch adds support for passing -Xarch_<arch> <option> to SYCL offload compilations.
Example:
clang --offload-new-driver -fsycl -fsycl-targets=amdgcn-amd-amdhsa,nvptx64-nvidia-cuda -nogpulib -fno-sycl-libspirv -nogpuinc -Xarch_amdgcn --offload-arch=gfx90a,gfx906 -Xarch_nvptx64 --offload-arch=sm_52,sm_89 -S -### syclfile.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant