heterocl.debug¶
Exception handler in HeteroCL
This module defines various HeteroCL exceptions. Developers are free to add new types of exception.
-
exception
APIError(msg)[source]¶ Bases:
heterocl.debug.HCLErrorA subclass for specifying API related exception
-
exception
DSLError(msg)[source]¶ Bases:
heterocl.debug.HCLErrorA subclass for specifying imperative DSL related exception
-
exception
DTypeError(msg)[source]¶ Bases:
heterocl.debug.HCLErrorA subclass for specifying data type related exception
-
exception
DeviceError(msg)[source]¶ Bases:
heterocl.debug.HCLErrorA subclass for specifying device related exception
-
exception
HCLError(msg, info=None)[source]¶ Bases:
ExceptionHeteroCL related exception
User can specify additional class for the exception.
-
exception
TensorError(msg)[source]¶ Bases:
heterocl.debug.HCLErrorA subclass for specifying tensor related exception