aclSetCompileopt
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets a build option to share globally across processes. You can call this API before building an operator or model. The build option is used and remains unchanged during the build process.
This API is not required in scenarios that do not involve building (for example, single-operator API execution).
Prototype
aclError aclSetCompileopt(aclCompileOpt opt, const char *value)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
opt |
Input |
Compilation option. |
value |
Input |
Pointer to the value of a compilation option. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Single-Operator Model Execution