--output

Description

(Optional) Specifies the absolute or relative path and name of the output installation package, for example, xxx/xxx/xxx.run. If no path is specified, the installation package is generated in the current path. If no package name is specified, the installation package name static_kernel_${datetime}_${pid}.run is used for the static-shape operator by default, and the installation package name debug_kernel_${datetime}.run is used for the debug build by default. It can be abbreviated as -o.

See Also

None

Arguments

Value: Path and name of the installation package generated after compilation.

Format: Relative or absolute path which contains letters, digits, underscores (_), hyphens (-), periods (.), and Chinese characters.

Default: static_kernel_${datetime}.run/debug_kernel_${datetime}_${pid}.run file (generated in the current path where the tool is executed)

Suggestions and Benefits

None

Example

op_compiler --op_params_dir=<dump_dir>  --soc_version=Ascendxxxx --log=info --job=128 --compile_mode=tune --output=$HOME/opcompile/out/

Applicability

Atlas inference product

Atlas training product

Atlas A2 training product/Atlas A2 inference product

Atlas 350 Accelerator Card

Restrictions

None