ascendebug kernel --backend simulator --repo-type ops_adv --repo-path ${repo_path} --json-file ${op_config_json_file} --core-type ${core_type} --timeout 1200 --block-num 1
命令参数 |
参数含义 |
取值说明 |
---|---|---|
--backend |
Kernel调测类型。 |
性能仿真流水场景填写simulator。 |
--repo-type |
算子开发场景类型。 |
参数取值与核函数NPU上板精度验证保持一致。 |
--repo-path |
算子源码仓路径。 |
|
--json-file |
算子信息配置文件。 |
|
--core-type |
算子类型。 |
|
--timeout |
设置运行超时时间,单位秒。 |
CAModel运行时间比较长,一般设为1200s, 用户可根据实际情况修改。 |
--block-num |
运行核数设置。 |
CAModel场景一般单核运行,设置为1。 |