- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there a way to use oneAPI to target nVidia GPUs via OpenCL on Windows?
I followed the vector-add and iso2dfd tutorials within Visual Studio 2019 but only the Intel GPU is detected.
Kind regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
>>Is there a way to use oneAPI to target nVidia GPUs via OpenCL on Windows?
As you wanted to use NVIDIA GPU, you can download opensource oneAPI to target on non-intel GPU's, as you cannot use Intel oneAPI to target NVIDIA GPUs via OpenCL
You can refer to the below link to download opensource oneAPI:
https://www.oneapi.io/open-source/
>> followed the vector-add and iso2dfd tutorials
You can try the code from below link to target Nvidia GPU.
https://developer.codeplay.com/products/computecpp/ce/guides/sycl-for-cuda-developers/examples
Thanks & Regards
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the information provided helped? If yes could you please confirm whether can we close this thread from our end?
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I only had a quick look at your answer for now, and am not sure whether it is going to help.
The below code does not print any other GPU device than the "Intel(R) HD Graphics 630" one on my machine, whereas it has a nVidia one too.
Is there a way to have GPUs other than Intel ones be "seen"?
for (auto device : sycl::device::get_devices(sycl::info::device_type::gpu))
{
std::cout << " Device: " << device.get_info<sycl::info::device::name>() << std::endl;
}
Kind regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know from where you have installed Intel oneAPI Toolkits?
>> does not print any other GPU device than the "Intel(R) HD Graphics 630"
It will not print any other device if you are using Intel oneAPI. If you want to target the NVidia GPU, you can use open-source oneAPI.
You can refer to the below links for more details:
https://www.oneapi.io/open-source
https://intel.github.io/llvm-docs/GetStartedGuide.html
Thanks & Regards
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I indeed got oneAPI from https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html, which is Intel version.
I will give the open source version a shot.
Shall I uninstall Intel oneAPI toolkits first?
Kind regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
>>Shall I uninstall Intel oneAPI toolkits first?
You can make use of open-source oneAPI even without uninstalling Intel OneAPI toolkits.
Please follow the below link for more details regarding the installation of opensource oneAPI:
https://intel.github.io/llvm-docs/GetStartedGuide.html
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the information provided above helped? If yes, could you please confirm whether we can close this thread from our end?
Thanks & Regards
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Noorjahan,
Yes, you can close the thread, thanks.
Cheers,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Noorjahan.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page