aclrtFloatOverflowMode

Data Format

Description

ACL_RT_OVERFLOW_MODE_SATURATION = 0

Saturation mode. If this mode is used, the compute precision may be inaccurate. This mode is only compatible with earlier versions and will not be evolved in the future. For Ascend 950PR/Ascend 950DT, the saturation mode is not supported.

For the Atlas 200I/500 A2 inference products, Atlas inference products, and Atlas training products, only the saturation mode is supported.

ACL_RT_OVERFLOW_MODE_INFNAN = 1

/Inf/NaN mode (IEEE 754-compliant). This is the default mode.

ACL_RT_OVERFLOW_MODE_UNDEF = 2

Reserved