aclrtGetRunMode
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Obtains the current run mode of the AI software stack.
Prototype
1 | aclError aclrtGetRunMode(aclrtRunMode *runMode) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
runMode |
Output |
Pointer to the run mode. For the type definition, see aclrtRunMode. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Device Management