aclrtFloatOverflowMode
1 2 3 4 5 | typedef enum aclrtFloatOverflowMode { ACL_RT_OVERFLOW_MODE_SATURATION = 0, // Saturation overflow detection mode ACL_RT_OVERFLOW_MODE_INFNAN, // Inf/NaN overflow detection mode (default value). ACL_RT_OVERFLOW_MODE_UNDEF, } aclrtFloatOverflowMode; |
In contrast to the Inf/NaN mode, the saturation mode converts the calculation result of Inf to a maximum value and the calculation result of NaN to 0. If the saturation mode is used, the calculation may be inaccurate. This mode is intended only for compatibility with earlier versions and will not evolve further.
For Atlas 350 Accelerator Card, the saturation mode is not supported.
Parent topic: Data Types and Operation APIs