Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
855 Discussions

sycl-ls shows no devices after building CUDA Unified Runtime adapter from source (oneAPI 2025.3, Win

Ckworec
Beginner
219 Views

I am trying to enable CUDA GPU support following the Known Issues and Limitations note stating that starting from oneAPI 2025.3, CUDA/HIP adapters are no longer distributed in binary form and must be built from source together with the SYCL compiler. However, after completing these steps, syxl-ls does not list any devices at all.

Interestingly, if I install only the Base Toolkit without building adapters manually, sycl-ls still detects Intel devices. After adding the manually built Unified Runtime plugins, no devices are reported.

The build process completed without visible errors. The CUDA toolkit and drivers are installed and working correctly outside of SYCL, and environment variables appear to be set correctly after running setvars.bat.

System 1 (problematic)

Windows 11

oneAPI version: 2025.3 (Base Toolkit)

NVIDIA GeForce RTX 5060

CUDA 12.4

I repeated the same procedure on another computer, and there the CUDA adapter worked immediately and sycl-ls correctly detected the GPU. This makes me suspect that the issue may be related to some environment or configuration difference on this particular system.

System 2 (working)

Windows 11

oneAPI version: 2025.3 (Base Toolkit)

 NVIDIA GeForce RTX 3050

CUDA 12.4

Is there a recommended way to verify that the CUDA adapter plugin is being loaded correctly?

Thank you.

 

 

 

0 Kudos
2 Replies
yzh_intel
Moderator
170 Views

Hi, if sycl-ls can show the expected backends, it's good indicator that the plugins have been installed correctly. If not, you can try with "--verbose" option from sycl-ls, which can show more information when loading the plugin libraries. 

0 Kudos
Ckworec
Beginner
129 Views

4 files are connected in sycl-ls --verbose: cuda adapter, opencl adapter, level zero adapter and level zero v2 adapter, but no devices or platforms are output. Perhaps everything worked out on the previous computer because the Codeplay plugin was previously installed there. 

0 Kudos
Reply