llvm icon indicating copy to clipboard operation
llvm copied to clipboard

NVIDIA MultiGPU support for SYCL

Open ManjulaChalla opened this issue 3 years ago • 0 comments

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): Montecarlo-single GPU

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: montecarlo-issue

I validated the SYCL code on Intel MultiGPU environment.It is working fine there.

Is there any limitation for SYCL on NVIDIA MultiGPU Hardware?

ManjulaChalla avatar Sep 09 '22 11:09 ManjulaChalla