[clang] [Driver][NFC] Show SYCL support in -Xarch_device/host help text (PR #165503)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 28 22:46:05 PDT 2025


jinge90 wrote:

> > we have used them in intel/llvm
> 
> Do they do anything useful for SYCL in https://github.com/llvm/llvm-project/?

Hi, @bader 
The driver code handling -Xarch_device/host doesn't do specific things to SYCL or CUDA, HIP : https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/Compilation.cpp#L58
If you think we can update the help text, I will add a lit test for -Xarch in SYCL.
Thank very much.


https://github.com/llvm/llvm-project/pull/165503


More information about the cfe-commits mailing list