aclrtSetSysParamOpt
Description
Sets the value of a runtime parameter of the current process. After this API is called to set the runtime parameter value, you can call aclrtGetSysParamOpt to obtain the parameter value.
This API applies to processes, whereas aclrtCtxSetSysParamOpt applies to contexts.
Prototype
aclError aclrtSetSysParamOpt(aclSysParamOpt opt, int64_t value)
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
opt |
Input |
Runtime parameter. |
value |
Input |
Runtime parameter value. |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Runtime Configuration