Sets a compilation option, which are shared globally across processes. An operator or a model is built according to the specified compilation option, which remains unchanged within a build process. This API is synchronous.
Use case: You can call this API to set build options before calling aclopCompile or aclopCompileAndExecute.
aclError aclSetCompileopt(aclCompileOpt opt, const char *value)
Parameter |
Input/Output |
Description |
|---|---|---|
opt |
Input |
Compilation option. |
value |
Input |
Pointer to the value of a compilation option. |
0 on success; else, failure.