- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is on the latest Windows 11. I installed the OCL runtime via Base Toolkit 2024.0 and have been using it all fine via PyOpenCL until I installed 2024.2.1.101. Actually it first worked fine except that since I didn't remove the old one, two versions showed up. So I uninstalled the 2024.0 and then neither version show up anymore. I tried reinstalling 2024.2.1.101 but can't get it back. I checked the regkey Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors and it has a value C:\Program Files (x86)\Intel\oneAPI\compiler\2024.2\bin\intelocl64.dll. This seems to be different from 2024.0 though. I also made sure the DLL is indeed at that location.
Any suggestions on how to diagnose? I'm using MSYS2 with its python modules.
Many thanks in advance
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> So I uninstalled the 2024.0 and then neither version show up anymore. I tried reinstalling 2024.2.1.101 but can't get it back.
Do you mean that the PyOpenCL code is not running successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
pyopencl.get_platform() does not return Intel CPU anymore. I have an NV card on the machine which still shows up. Before I uninstall the 2024.0 Base ToolKit, the get_platform() call returns both 2024.0 and 2024.2 in addition to the NV driver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you run the command "sycl-ls" in "Intel oneAPI command prompt for Intel64" and tell us the output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@cw_intel wrote:Can you run the command "sycl-ls" in "Intel oneAPI command prompt for Intel64" and tell us the output?
:: initializing oneAPI environment...
Initializing Visual Studio command-line environment...
Visual Studio version 17.11.4 environment configured.
"C:\Program Files\Microsoft Visual Studio\2022\Community\"
Visual Studio command-line environment initialized for: 'x64'
: advisor -- latest
: compiler -- latest
: dal -- latest
: debugger -- latest
: dev-utilities -- latest
: dnnl -- latest
: dpcpp-ct -- latest
: dpl -- latest
: ipp -- latest
: ippcp -- latest
: mkl -- latest
: mpi -- latest
: ocloc -- latest
: tbb -- latest
: vtune -- latest
:: oneAPI environment initialized ::
C:\Program Files (x86)\Intel\oneAPI>sycl-ls
[opencl:cpu][opencl:0] Intel(R) OpenCL, AMD Ryzen Threadripper PRO 3995WX 64-Cores OpenCL 3.0 (Build 0) [2024.18.7.0.11_160000]
C:\Program Files (x86)\Intel\oneAPI>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your CPU is AMD, we cannot make sure “Intel CPU Runtime for OpenCL” works correctly. You can refer to the Intel® CPU Runtime for OpenCL™ Applications Release Notes to check the supported hardware. If you have the same problem on Intel CPU, please tell us and we will investigate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured out the reason. It seems the file-layout has changed between 2024.0 and 2024.2 and some DLLs now lives in Program Files (x86)/Intel/oneAPI/2024.2/bin, which, AFAIK, was not added to the environment. After adding it to the PATH, everything works as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BTW, did you set up the oneAPI environment before running your code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, I didn't do anything. How do I set up the oneAPI environment? I'm running under the MSYS2 environment.
BTW, it all worked fine before I uninstall the 2024.0 Base Toolkit.

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