aclSetCompileopt
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
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.
Prototype
1 | aclError aclSetCompileopt(aclCompileOpt opt, const char *value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
opt |
Input |
Compilation option. For details about the type definition, see aclCompileOpt. |
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