aclrtCtxGetFloatOverflowAddr

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

√

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

√

Function

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

1
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; otherwise, failure. For details, see aclError.