ascendebug kernel --backend cpu --json-file ${op_config_json_file} --repo-type ops_adv --repo-path ${repo_path} --core-type ${core_type}
命令参数 |
参数含义 |
取值说明 |
---|---|---|
--backend |
Kernel调测类型。 |
CPU孪生调试时填写cpu。 |
--json-file |
算子信息配置文件。 |
具体参见输入配置中的json配置文件。 |
--repo-type |
算子开发场景类型。 |
ops_adv工程场景固定配置为ops_adv。 |
--repo-path |
算子源码仓路径。 |
本地ops_adv源码仓路径。 |
--core-type |
算子类型。 |
根据实际情况填写,可选值为{AiCore, MixCore, CubeCore, VectorCore, MixVectorCore},MixVectorCore为预留参数,开发者无需关注。 本场景针对融合算子调测,一般配置为MixCore。 |