llvm
llvm copied to clipboard
NVIDIA MultiGPU support for SYCL
Hi, I migrated CUDA code to SYCL. And the CUDA code is working fine for NVIDIA Multi GPU environment and SYCL migrated code is resulting in a segmentation fault in the NVIDIA MultiGPU(2 or 4 GPUs environment).Both CUDA and SYCL code is working for single GPU environment.
SYCL code on NVIDIA GPU(single):

Steps to reproduce: clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda MonteCarlo_kernel.cpp MonteCarloMultiGPU.cpp MonteCarlo_reduction.hpp MonteCarlo_gold.cpp multithreading.cpp
Used the above command for compilation on SYCL on NVIDIA.
SYCL code on NVIDIA Multi GPU:

I validated the SYCL code on Intel MultiGPU environment.It is working fine there.
Is there any limitation for SYCL on NVIDIA MultiGPU Hardware?