dpctl Exceptions

exception dpctl.SyclContextCreationError

A SyclContextCreationError exception is raised when SyclContext could not created.

exception dpctl.SyclDeviceCreationError

A SyclDeviceCreationError exception is raised when SyclDevice instance could not created.

exception dpctl.SyclKernelInvalidRangeError

A SyclKernelInvalidRangeError is raised when the provided range has less than one or more than three dimensions.

exception dpctl.SyclKernelSubmitError

A SyclKernelSubmitError exception is raised when the provided SyclKernel could not be submitted to the SyclQueue.

exception dpctl.SyclQueueCreationError

A SyclQueueCreationError exception is raised when a SyclQueue could not be created. SyclQueue creation can fail if the filter string is invalid, or the backend or device type values are not supported.

exception dpctl.SyclSubDeviceCreationError

A SyclSubDeviceCreationError exception is raised when sub-devices were not created.