Jump to content
Sign in to follow this  

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

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this