aclInitCallbackUnRegister

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Deregisters the callback function if there is no need to call the callback function.

Prototype

1
aclError aclInitCallbackUnRegister(aclRegisterCallbackType type, aclInitCallbackFunc cbFunc)

Parameters

Parameter

Input/Output

Description

type

Input

Registration type, which is distinguished by function. For details, see aclRegisterCallbackType.

cbFunc

Input

Initialization callback function.

Prototype:

typedef aclError (*aclInitCallbackFunc)(const char *configStr, size_t len, void *userData);

Returns

0 on success; otherwise, failure. For details, see aclError.