aclrtGetRunMode
Description
Obtains the current run mode of the AI software stack.
Prototype
aclError aclrtGetRunMode(aclrtRunMode *runMode)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
runMode |
Output |
Pointer to the run mode.
|
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Device Management