--kernel_name
Description
Select --kernel_name or --op_params_dir. --kernel_name sets the kernel name of the operator of the debug build to be compiled. It can be abbreviated as -k.
To obtain the kernel name, perform the following steps: If an error is reported during operator execution, obtain the kernel name of the operator based on the error log (by searching with the keyword "kernel_name"). For details about how to obtain error logs, see Log Reference.
See Also
--kernel_name works with --op_debug_config. This option can be used only when the binary of the debug build is compiled.
Arguments
Search with the keyword "kernel_name" in the operator error log to find the "kernel_name" where the error is reported.
Suggestions and Benefits
None
Example
op_compiler --kernel_name=xxx --soc_version=<soc_version>
Applicability
Restrictions
None
Parent topic: Input Options