You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Able to build the clang with cuda backend with CUDA version 11.6 and 12.2 ,however, I am not able to run the compiled sample.
I have reported the same report earlier with a different hardware configuration and different Windows version. The bug report for that bug report is #11058 (comment)
NOTE : Compiling to target CPU works ( clang++ -fsycl simple-sycl-app.cpp -o simple-sycl-app.exe and the ONEAPI_DEVICE_SELECTOR is not set )
To Reproduce
The simple-sycl-app.cpp described in the getting started document is used.
Compile and run command:
set PATH=%DPCPP_HOME%\llvm\build_cuda\install\bin;%PATH%
set LIB=%DPCPP_HOME%\llvm\build_cuda\install\lib;%LIB%
clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda simple-sycl-app.cpp -o simple-sycl-app.exe
set ONEAPI_DEVICE_SELECTOR=cuda:*
set SYCL_PI_TRACE=-1
simple-sycl-app.exe
Result:
---> DLL_PROCESS_ATTACH pi_win_proxy_loader.dll
---> DLL_PROCESS_ATTACH pi_opencl.dll
---> DLL_PROCESS_ATTACH pi_level_zero.dll
---> DLL_PROCESS_ATTACH syclx.dll
SYCL_PI_TRACE[all]: Check if plugin is present. Failed to load plugin: pi_cuda.dll
SYCL_PI_TRACE[all]: Check if plugin is present. Failed to load plugin: pi_unified_runtime.dll
I just wanted to note that I cloned and compiled newer version of DPC++ (8fe166f) and it works with CUDA backend, although many SYCL-programs don't work, as I mentioned there: #11740
Able to build the clang with cuda backend with CUDA version 11.6 and 12.2 ,however, I am not able to run the compiled sample.
I have reported the same report earlier with a different hardware configuration and different Windows version. The bug report for that bug report is #11058 (comment)
NOTE : Compiling to target CPU works ( clang++ -fsycl simple-sycl-app.cpp -o simple-sycl-app.exe and the ONEAPI_DEVICE_SELECTOR is not set )
To Reproduce
The simple-sycl-app.cpp described in the getting started document is used.
Compile and run command:
set PATH=%DPCPP_HOME%\llvm\build_cuda\install\bin;%PATH%
set LIB=%DPCPP_HOME%\llvm\build_cuda\install\lib;%LIB%
clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda simple-sycl-app.cpp -o simple-sycl-app.exe
set ONEAPI_DEVICE_SELECTOR=cuda:*
set SYCL_PI_TRACE=-1
simple-sycl-app.exe
Result:
---> DLL_PROCESS_ATTACH pi_win_proxy_loader.dll
---> DLL_PROCESS_ATTACH pi_opencl.dll
---> DLL_PROCESS_ATTACH pi_level_zero.dll
---> DLL_PROCESS_ATTACH syclx.dll
SYCL_PI_TRACE[all]: Check if plugin is present. Failed to load plugin: pi_cuda.dll
SYCL_PI_TRACE[all]: Check if plugin is present. Failed to load plugin: pi_unified_runtime.dll
cmake version 3.20.21032501-MSVC_2
ninja version 1.10.2
Driver
Version: 536.67
CUDA : NVIDIA CUDA 12.2.128 and 11.6 both attempted
Windows SDK
-Version 10.0.19041.0
The text was updated successfully, but these errors were encountered: