Jump to content

Houdini: OpenCL Error clEnqueueNDRangeKernel (-52)


Recommended Posts

Hello Houdini Wizards!


I'm currently facing an issue with openCL.


I'm working on a tool using openCL, being pretty happy with it, I was testing it after a vellum simulation, everything was working well, no errors at all.

I shut down my computer for the night, and when I come back this morning I get this error.

The issue appears even doing a simple deformation as you can see on the image 

Here is few things that I checked before writing this thread:

            - The preferences of the openCL seems correct, changing it to CPU doesn't fix the issue. 

            - my houdini.env file is set with the following argument:

                                   HOUDINI_OCL_VENDOR=NVIDIA Corporation

            - My graphic drivers are up to date (running with NVIDIA GeForce RTX2060).

            - I tried to revert to houdini 19 to see if it would fix it but I still get the error.


Here is the issue from the console:

                  OpenCL Exception: clEnqueueNDRangeKernel (-52)OpenCL Context error: CL_INVALID_KERNEL_ARGS error executing CL_COMMAND_NDRANGE_KERNEL on NVIDIA GeForce RTX 2060 (Device 0).


Did anyone faced that issue working with openCL previously or found a solution?


Capture d’écran 2022-08-20 054744.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...