Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel ICX Compiler , Intel® DPC++ Compatibility Tool, and GDB*

Using oneAPI and NVIDIA GPU on Windows 10

gstoilov
Beginner
3,064 Views

Hi, everybody,

I am trying to port a CUDA program to oneAPI.
The example “tbb-async-sycl” compiles and works fine, but
I mention that sycl::default_selector always selects CPU.
I changed the sycl::default_selector with sycl::gpu_selector, but
The program crashes at the row:
sycl::queue q(sycl::gpu_selector{}, dpc_common::exception_handler);


For the test, I added two rows at the beginning of the main function:

sycl::gpu_selector device_selector;
sycl::queue q(device_selector);

and again the exception is raised.

Unhandled exception at 0x00007FFEB3E24B89 in tbb-async-sycl.exe: Microsoft C++ exception: cl::sycl::runtime_error at memory location 0x000000E59A71F0D8.

Is it possible to use oneAPI with Windows 10 21H1 and NVIDIA RTX2070 as a GPU device for calculations?

Thank you in advance

 

0 Kudos
1 Solution
SantoshY_Intel
Moderator
2,968 Views

Hi,

 

Since you are using an accelerator other than Intel, Please use an open-source version of oneAPI which can be found at (https://intel.github.io/llvm-docs/GetStartedGuide.html).

 

We can see that you are having a valid support license. If you still face any issue, then please raise a support ticket at (https://supporttickets.intel.com/servicecenter?lang=en-US)

 

Please let us know if there is anything else that we can help you with? If not, let us know whether to close this thread.

 

Thanks & Regards,

Santosh

 

View solution in original post

0 Kudos
4 Replies
SantoshY_Intel
Moderator
2,999 Views

Hi,


Thanks for reaching out to us.

Could you please provide the information i.e from where did you install oneAPI(please provide the link of the website you referred to) and the version of oneAPI installed?


Thanks & regards,

Santosh


0 Kudos
gstoilov
Beginner
2,991 Views

Hi,

Thank you for asking me.

I have valid subscription for  Intel® oneAPI Base & HPC Toolkit (Single-Node) until

03/16/2023.

The installed components are from the files :

w_BaseKit_p_2021.2.0.2871_offline.exe

w_HPCKit_p_2021.2.0.2901_offline.exe

w_dpcpp-cpp-compiler_p_2021.2.1.3150_offline.exe

from the links below.

 

https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html#base-kit

https://registrationcenter.intel.com/en/products/download/3994/

https://registrationcenter.intel.com/en/products/download/3997/

https://software.intel.com/content/www/us/en/develop/articles/intel-c-compiler-classic-2021-2-1-release.html

 

best regards

0 Kudos
SantoshY_Intel
Moderator
2,969 Views

Hi,

 

Since you are using an accelerator other than Intel, Please use an open-source version of oneAPI which can be found at (https://intel.github.io/llvm-docs/GetStartedGuide.html).

 

We can see that you are having a valid support license. If you still face any issue, then please raise a support ticket at (https://supporttickets.intel.com/servicecenter?lang=en-US)

 

Please let us know if there is anything else that we can help you with? If not, let us know whether to close this thread.

 

Thanks & Regards,

Santosh

 

0 Kudos
SantoshY_Intel
Moderator
2,933 Views

Hi,


Thanks for accepting as a solution.

We will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Have a Good day!


Thanks & Regards,

Santosh


0 Kudos
Reply