OpenCL issues



Error

Explanation

Instructions

Error

Explanation

Instructions

CL_INVALID_BINARY

This indicates a problem with your OpenCL device (CPU/GPU) or driver.

  1. Install any pending operating system updates.

  2. Check your GPU drivers and try updating them to the latest available version.

  3. Verify your driver supports OpenCL 1.2 by performing OpenCL Driver Check.

  4. Check GPU Requirements.

CL_INVALID_QUEUE_PROPERTIES

CL_PLATFORM_NOT_FOUND_KHR

Your system is missing OpenCL drivers.

CL_OUT_OF_RESOURCES

Your OpenCL device (CPU/GPU) does not have enough resources/memory to execute the current task.

  1. Verify that there are no other programs running that consume memory from this OpenCL device (CPU/GPU).

  2. See Memory leaks in .NET to make sure that you dispose of all objects in your script.

  3. Verify your driver supports OpenCL 1.2 by performing OpenCL Driver Check.

  4. Check GPU Requirements.

  5. If necessary, upgrade your OpenCL device to a a model with more resources.

CL_MEM_OBJECT_ALLOCATION_FAILURE

CL_OUT_OF_HOST_MEMORY

Your computer does not have enough memory to execute the current task.

  1. Verify that there are no other programs running that consume memory from this OpenCL device (CPU/GPU).

  2. Check GPU Requirements.

  3. If necessary, upgrade your computer's memory.