Error Codes

Decprecated: Please note that you are viewing a guide targeting an older version of ComputeCpp Community Edition. This version of the guide is designed specifically for version 2.0.0.

ComputeCpp Runtime Error Codes

The table below lists all the different error codes that can be reported by the runtime, alongside the error message reported and optional information. The columns of the table are:

  • Number: The identification number provided with the error message
  • OpenCL Error Available: Whether an OpenCL error can be queried from the exception
  • Should Report: Whether this error message should be reported to ComputeCpp Support as an internal error
  • Optional Information: Optional string that can be produced by the runtime alongside the error message
  • Extra information on the error code
# OpenCL Error Available Should Report Optional Information Extra
1 No Yes Unknown Error -
2 No No Out of host memory. -
3 Yes No Error retaining OpenCL object. -
4 Yes No Error releasing OpenCL object. -
5 No No Failed to allocate host memory.
6 No Yes This functionality is not currently supported.
7 No Yes Internal error.
8 No No SYCL objects are still alive while the runtime is shutting down.
9 No The value of COMPUTECPP_TARGET is invalid.
10 No Yes Invalid Target String Format
11 No No Null pointer passed
12 No Yes The configuration file provided is invalid. Filename set in COMPUTECPP_CONFIGURATION_FILE
13 No Yes Value for the configuration option is invalid Option [value] is not a valid value for [option]
100 No Failed to build program.
101 No Failed to create a kernel.
102 No The requested kernel name could not be found. [kernel_name]
103 Yes Error while retrieving the program information.
104 Yes Error while retrieving the kernel information.
105 No The requested target name could not be found. [target name]
106 No Device not found.
107 Yes Failed to create program from binary
108 Yes Attempting to link a program when it is not an object
109 Yes Failed build kernel.
110 Yes Failed to create program from OpenCL Csource.
111 Yes Failed to set kernel arguments for OpenCL interoperability kernel.
112 Yes Failed to retain an OpenCL kernel object.
113 Yes Failed to release an OpenCL kernel object.
114 No Failed to create program from an invalid cl_program object.
115 No Unsupported extension on the device
116 No Failed to create kernel from invalid OpenCL cl_kernel object
117 No Failed to compile program.
118 No Failed to find a suitable binary for program.
200 No Yes Failed to construct implicit queue.
201 Yes Error while waiting for an event.
202 Yes Cannot retrieve event information.
203 Yes Yes Failed to set user event status.
204 Yes Failed to create context. For host: "context::context(cl_context
205 Yes Failed to create user event.
206 Yes Error when finishing the OpenCL command queue.
207 Yes Error when flusing the OpenCL command queue.
208 Yes Failed to enqueue the OpenCL command (command name)
209 Yes Failed to retain OpenCL context.
210 Yes Failed to release OpenCL context.
211 Yes This context has no associated devices.
212 Yes Failed to retain OpenCL event. There was an error while trying to do a CLRetainEvent on the cl_event given.
213 No Invalid OpenCL event object
214 Yes Failed to release OpenCL event.
215 Yes Yes Error setting the callback of an OpenCL object.
216 Yes Failed to submit command group.
217 No Kernel failed during execution.
218 No Command group has already been processed. Invalid use of accessors or parallel_for invocations.
219 No Cannot use explicit set_arg() for kernel arguments and accessor syntax simultaneously.
220 No Yes Maximum number of devices per context has been reached.
221 No No command group available in this functor
222 No Cannot contruct a non-host accessor outside of a command group.
223 No Cannot construct a host accessor inside a command group.
224 No Command group submission would allocate more memory than what is available on device.
300 Yes Error trying to retrieve the work-group information from the OpenCL implementation.
301 No Work-group size is invalid.
400 No Error in acquiring information.
401 Yes Cannot create sub-device.
402 Yes Cannot create device.
403 Yes Cannot release OpenCL device.
404 Yes Error acquiring information form the OpenCL runtime for the give cl_mem object.
405 No Cannot create a sycl buffer from a non-buffer cl_mem.
406 No Invalid context provided.
407 Yes Failed to create OpenCL command queue
408 Yes Error querying the number of OpenCL platforms.
409 Yes Error obtaining OpenCL platforms in the system.
410 No Yes Error processing kernel arguments from integration header.
411 No Incorrect type of accessor (%s) for the given parameters (%s) ,
412 No Invalid property specified
413 No SYCL host device does not have an associated cl_device_id
414 No SYCL host queue does not have an associated cl_command_queue
415 No SYCL host platform does not have an associated cl_platform_id
416 No The queue associated with an event does not have profiling enabled
417 No The runtime cannot load an OpenCL function dynamically
500 Yes Failed to create buffer
501 Yes Failed to create sub-buffer.
502 Yes Failed to create image.
503 Yes Failed to create sampler.
504 Yes Failed to release memory object.
505 Yes Failed to retain memory object.
506 No Failed to obtain a cl_mem object for the given context
507 No Error constructing an ND Range < optional specific error >
508 No The memory object requested is not available in the queue
509 No The memory object cannot be casted
510 No Null buffer error
511 Yes Unable to allocate USM memory
512 Yes No Cannot find device associated with USM pointer A non-USM pointer was used in a call to get_pointer_device.
600 No Yes No match for a profiling event was found
601 No Yes Cannot write the profiling output file No permision to write the output file
602 No Yes Failed to register callback for OpenCL kernel event
603 No Yes Internal error in the JSON profiling backend
900 No Yes Failed to create buffer for on-chip memory extensions
902 Yes No Error trying to retrieve kernel subgroup information from the OpenCL implementation

Select a Product

Please select a product

ComputeCpp enables developers to integrate parallel computing into applications using SYCL™ and accelerate code on a wide range of OpenCL™ devices such as GPUs.

ComputeSuite for R-Car enables developers to accelerate their applications on Renesas® R-Car based hardware such as the V3M and V3H, using the widely supported open standards SYCL and OpenCL.

Network Icon


part of our network