aclrtGetSysParamOpt
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Obtains the value of a runtime parameter of the current process.
If aclrtSetSysParamOpt is not called to set the runtime parameter value, you can directly call this API to obtain the default value of each parameter, which is 0, indicating that deterministic computing and memory access violation detection are disabled. After aclrtSetSysParamOpt is called to set the runtime parameter value, you can call aclrtGetSysParamOpt to obtain the parameter value.
Prototype
aclError aclrtGetSysParamOpt(aclSysParamOpt opt, int64_t *value)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
opt |
Input |
Runtime parameter. |
value |
Output |
Runtime parameter value. |
Returns
0 on success; else, failure. For details, see aclError.