Code Monkey home page Code Monkey logo

Comments (4)

ArsenShnurkov avatar ArsenShnurkov commented on August 16, 2024

"The error code values are defined in opencl.h
It look like your platform is not configured properly.
CL_PLATFORM_NOT_FOUND_KHR (-1001) error from clGetPlatformIDs.
That's because you do have the dispatcher, but no actual OpenCL drivers."

Mesa 10.0.1, r600g,
there is no file libMesaOpenCL.so

from scallion.

lachesis avatar lachesis commented on August 16, 2024

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.

from scallion.

j0rd avatar j0rd commented on August 16, 2024

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 

from scallion.

itJunky avatar itJunky commented on August 16, 2024

I have same error when trying to start docker after build it:

sudo docker run -ti --rm scallion -l
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319

Unhandled Exception:
System.InvalidOperationException:  ErrorCode:'-1001'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x0001a] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.CLDeviceInfo.GetPlatformIds () [0x0000f] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00001] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.Program.ListDevices () [0x00004] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.Program.Main (System.String[] args) [0x00263] in <41174b78c7164d7e892743e843ae2123>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException:  ErrorCode:'-1001'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x0001a] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.CLDeviceInfo.GetPlatformIds () [0x0000f] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00001] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.Program.ListDevices () [0x00004] in <41174b78c7164d7e892743e843ae2123>:0 
  at scallion.Program.Main (System.String[] args) [0x00263] in <41174b78c7164d7e892743e843ae2123>:0 

How can i fix it?

from scallion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.