-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.InvalidOperationException: ErrorCode:'-1001' #30
Comments
"The error code values are defined in opencl.h Mesa 10.0.1, r600g, |
I don't think I can help with this, unfortunately. You need to get OpenCL installed correctly for this program to work. I'm not sure if the 4850 supports OpenCL. |
I installed a bunch of opencl packages. The last one which finally removed this error for me was apt-get install beignet beignet-dev ocl-icd-opencl-dev ocl-icd-libopencl1 Ubuntu 14.10 I have IvyBridge with NVidia chip which can run via bumblebee. Can't get it to work with the nvidia drivers for opencl though. Still not working though...but removed the -1001 error. I get tihs error now j0rd@bubbles:~/src/scallion$ mono scallion/bin/Debug/scallion.exe -d 0 prefix Cooking up some delicions scallions... Putting 1 patterns into 1 buckets. Using kernel optimized from file kernel.cl (Optimized4) Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at scallion.CLRuntime.Run (scallion.ProgramParameters parms) [0x00000] in :0 at scallion.Program.Main (System.String[] args) [0x00000] in :0 Stopping the GPU and shutting down... [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at scallion.CLRuntime.Run (scallion.ProgramParameters parms) [0x00000] in :0 at scallion.Program.Main (System.String[] args) [0x00000] in :0 |
I have same error when trying to start docker after build it:
How can i fix it? |
Debian Jessie/sid
$ sudo lspci | grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] R700 [Radeon HD 4850 X2]
~/github.com/lachesis/scallion$ mono ./scallion/bin/Debug/scallion.exe -l
Unhandled Exception:
System.InvalidOperationException: ErrorCode:'-1001'
at scallion.CLDeviceInfo.CheckError (Int32 err) [0x00000] in :0
at scallion.CLDeviceInfo.GetPlatformIds () [0x00000] in :0
at scallion.CLDeviceInfo.GetDeviceIds () [0x00000] in :0
at scallion.CLRuntime.GetDevices () [0x00000] in :0
at scallion.Program.ListDevices () [0x00000] in :0
at scallion.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: ErrorCode:'-1001'
at scallion.CLDeviceInfo.CheckError (Int32 err) [0x00000] in :0
at scallion.CLDeviceInfo.GetPlatformIds () [0x00000] in :0
at scallion.CLDeviceInfo.GetDeviceIds () [0x00000] in :0
at scallion.CLRuntime.GetDevices () [0x00000] in :0
at scallion.Program.ListDevices () [0x00000] in :0
at scallion.Program.Main (System.String[] args) [0x00000] in :0
The text was updated successfully, but these errors were encountered: