aclopSetCompileFlag (Deprecated)
Note: This API will be deprecated in future releases. Call aclSetCompileopt instead to set build options.
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the operator compilation flag before the operator is compiled. This setting takes effect globally at the process level.
Prototype
1 | aclError aclopSetCompileFlag(aclOpCompileFlag flag) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
flag |
Input |
Operator compilation flag. For details about the type definition, see aclOpCompileFlag. If it is not set, precise compilation is used by default. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Single-Operator Model Execution