On my W10 notebook I have NVIDA GPU drivers (NVIDIA GeForce GTX 960M), Visual Studio 2022 where I can program and run the CUDA program (CUDA 11.8 Runtime - VS22 template) without any problems.
Then I installed the Intel OneAPI Basic Toolkit and run the first SYCL example program (Base Vector Add):
Running on device: Intel(R) HD Graphics 620
Vector size: 10000
LLVM ERROR: SPIRV internal error.
Intel® oneAPI 2023.0 is validated on Windows and Linux for the following driver versions
Windows Intel® Graphics Driver
To install the driver follow the directions in the article appropriate for your device
Intel® Iris® Xe MAX (DG1) and 10th-13th Gen Intel® Core™ Processor Graphics https://www.intel.com/content/www/us/en/download/19344/intel-graphics-windows-dch-drivers.html
Intel® Arc™ A-Series Graphics (DG2) https://www.intel.com/content/www/us/en/download/726609/intel-arc-graphics-windows-dch-driver.html
Intel® Data Center GPU Flex Series (ATS-M) https://registrationcenter.intel.com/en/products/subscription/956/
Contact your OEM representative for access to the Intel Registration Center.
Linux General Purpose Intel GPUs (GPGPU) Driver
For all Intel GPUs, see this article, https://dgpu-docs.intel.com/, and follow the directions for your device.
Doe’s anybody knows how to configure oneAPI in VS22 to use NVIDIA GPU driver?
SYCL isn’t a NVIDIA product. It’s also not CUDA or CUDA programming. However I’m fairly certain that SYCL code can be run on NVIDIA GPUs in some circumstances, so I think google is your friend, if you don’t get any advice here.