Results 1 to 3 of 3

Thread: clSetKernelArg in loop CL_OUT_OF_RESSOURCES

  1. #1
    Junior Member
    Join Date
    Feb 2012

    clSetKernelArg in loop CL_OUT_OF_RESSOURCES


    I have to pass kernel arguments in a loop.

    for (...)
    //running the kernel


    after a while, clWaitForEvents return CL_OUT_OF_RESSOURCES on windows.
    It works just fine on mac and linux.

    I supposed a driver problem, even with the lastest one!

    Does someone else had that kind of problem?


  2. #2
    Senior Member
    Join Date
    May 2010
    Toronto, Canada

    Re: clSetKernelArg in loop CL_OUT_OF_RESSOURCES

    Is it possible that you are forgetting to release some resources in that loop? For example, did you remember to call clReleaseEvent() for those events you waited for?
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  3. #3
    Junior Member
    Join Date
    Feb 2012

    Re: clSetKernelArg in loop CL_OUT_OF_RESSOURCES

    Yes the event is released, but after a quick check it seems that it is eventualy a timeout problem...

Similar Threads

  1. clSetKernelArg(....)
    By sajis997 in forum OpenCL
    Replies: 0
    Last Post: 03-08-2013, 04:16 AM
  2. clSetKernelArg performance
    By jbasic in forum OpenCL
    Replies: 3
    Last Post: 04-14-2010, 12:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean