Function: set_device_sat_mode
C Prototype |
aclError aclrtSetDeviceSatMode(aclrtFloatOverflowMode mode) |
|---|---|
Python Function |
ret = acl.rt.set_device_sat_mode(mode) |
Function Usage |
Sets the output mode of the floating-point calculation result of the device corresponding to the current context. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
Input Description |
mode: int, output mode of the floating-point calculation result. For details, see aclrtFloatOverflowMode. |
Return Value |
ret: int, error code.
|
Restrictions |
The setting takes effect only for the streams created on the device after this API call. |
Parent topic: Device Management