Windows: opencl call failed
See original GitHub issueTraceback (most recent call last):
File "C:/msys64/mingw64/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
File "butterflow/__main__.py", line 12, in <module>
File "butterflow/cli.py", line 262, in main
RuntimeError: opencl call failed
I do have the latest nVidia driver installed. I’m using Windows 10.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:26 (4 by maintainers)
Top Results From Across the Web
How to Fix OpenCL.dll Missing or Not Found Errors
The most direct method to fix DLL file missing error is copying the missing file from another trusted resource. But you have to...
Read more >Opencl Dll Missing Error - How To Resolve? - Silicophilic
Reasons That Trigger The OpenCL Dll Missing Error? · Fix 1: Run SFC Scan · Fix 2: Update Your Graphics Card Drivers ·...
Read more >MISSING OPENCL.DLL ON WINDOWS10
Close the command prompt window. Re-start the program associated with opencl.dll error. Method 3:Repair Invalid Opencl.dll ...
Read more >Fix OpenCL.dll is missing or not found error on your computer
How do I fix OpenCL.DLL missing in Windows 10? ... Among other fixes which include installing the OpenCL.dll file, updating your device drivers, ......
Read more >openCL call error -4(263) , Can anyone please tell me how to ...
Rig one has two cards with openCL call error -4(263) ... do we need to make any special settings in windows for 8...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i think i found the problem: butterflow expects the pathname to 64bit opencl dll to be installed at: HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors
and 32bit dll at: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors
For some reason recent nvidia driver installers do not setup the regkeys. if you want to get butterflow working with latest nvidia drivers, manually installing the regkeys worked for me:
do a search in your windows folder for nvopencl64.dll and nvopencl32.dll (it should be in driverstore, use the one from your latest nvidia driver). here’s an example of the regkeys to install :
[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors] “C:\Windows\System32\nvopencl64.dll”=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors] “C:\Windows\System32\nvopencl32.dll”=dword:00000000
@excxp your solution is working fine. But in my case, the location of the dll files are located at: