syclreference.com
  1. SYCL
  2. | API Reference
  3. | Error handling

Error handling

Classes

accessor_error

Represents an error regarding defined.

compile_program_error

Represents an error that happened during compilation.

device_error

Base SYCL device error group. Sub-classes of this error represent a device specific error.

event_error

Represents an error related to a

exception

SYCL exception class, defined Section 3.2 of the specification, for general SYCL error.

exception_list

List of exceptions thrown asynchronously, contains objects of type exception_ptr_class.

feature_not_supported

Represents an exception when an optional feature or extension is used in a kernel but its not available on the device the SYCL kernel is being enqueued on.

invalid_object_error

Represents an error regarding any memory object being used by a kernel.

invalid_parameter_error

Represents an error related to SYCL kernel parameters.

kernel_error

Represents an error that occurred before or while enqueuing a SYCL kernel.

link_program_error

Represents an error that happened during linking.

memory_allocation_error

Represents a memory allocation error.

nd_range_error

Represents an error related to a provided nd_range.

platform_error

Represents a platform related error.

profiling_error

Represents an issue related to profiling (can only be raised if profiling is enabled).

runtime_error

Base SYCL runtime error group. Sub-classes of this error represent a runtime specific error.

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000