aclopSetCompileFlag (Deprecated)

Note: This API will be deprecated in future releases. Call aclSetCompileopt instead to set build options.

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Sets the operator compilation flag before the operator is compiled. This setting takes effect globally at the process level.

Prototype

aclError aclopSetCompileFlag(aclOpCompileFlag flag)

Parameters

Parameter

Input/Output

Description

flag

Input

Sets the operator compilation flag.

Defaults to the non-fuzzy compilation mode.

Returns

0 on success; else, failure. For details, see aclError.