aclrtCtxGetFloatOverflowAddr

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Obtains the address of the device memory for storing overflow/underflow flags in the saturation mode. This address needs to be passed as the value of the Workspace parameter to the AI Core operator.

Prototype

aclError aclrtCtxGetFloatOverflowAddr(void **overflowAddr)

Parameters

Parameter

Input/Output

Description

overflowAddr

Output

Address of the device memory for storing overflow/underflow flags.

Returns

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