Git Product home page Git Product logo

Comments (2)

MoFtZ avatar MoFtZ commented on June 2, 2024

@fcogneaux I haven't been able to reproduce the issue.

However, that CLException that is thrown should have an Error member variable that will give you the error code from the OpenCL API. In particular, it should map to one of these error codes.

The call to Synchronize will internally call the clFinish function of OpenCL. The documentation says that clFinish can expect the following result:

 Returns CL_SUCCESS if the function call was executed successfully. Otherwise, it returns one of the following errors:

    CL_INVALID_COMMAND_QUEUE if command_queue is not a valid host command-queue.
    CL_OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.
    CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.

Let us know how you go.

from ilgpu.

fcogneaux avatar fcogneaux commented on June 2, 2024

Thank you for your time and you suggestion MoFtZ.

Indeed, the exception has an error code which is : -14 (CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)

Given the context (a low powered graphic card), and accordingly to the thread posts I was able to find, it could be related to some watchdog / timeout error, raised by the hardware when a kernel takes too much time to execute.

I found a workaround by splitting the outer loop in smaller chunks before execute the kernel.

Thanks!

from ilgpu.

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.