ExceptionDumpParseFunc

Function Usage

Registers an exception handling function. When an aic error occurs in the operator, the user-defined exception handling logic is executed.

Prototype

1
OpImplRegisterV2 &ExceptionDumpParseFunc(ExceptionDumpFunc exception_func)

Parameters

Parameter

Input/Output

Description

exception_func

Input

ExceptionDumpFunc function to be registered.

The ExceptionDumpFunc type is defined as follows:

1
using ExceptionDumpFunc = void (*)(aclrtExceptionInfo *exception_info, void *reserved);

Returns

OpImplRegisterV2 object of the operator, where the ExceptionDumpFunc function is registered.

Constraints

None