Sets the output mode of the floating-point calculation result of the device corresponding to the current context. This API is synchronous.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 910 AI Processor does not support this API in the current version.
The Ascend 310P AI Processor does not support this API in the current version.
aclError aclrtSetDeviceSatMode(aclrtFloatOverflowMode mode)
Parameter |
Input/Output |
Description |
|---|---|---|
mode |
Input |
Output mode of the floating-point calculation result. |
0 on success; else, failure.