bash build.sh --run_example add_example eager cust --vendor_name=custom
--soc
${op_name}_tiling_${sub_case}.cpp/.h
error 161001
aclnnXxxGetWorkspaceSize failed
--install-path
sudo -E
cmake/func.cmake
file(GLOB ... *_tiling*.cpp)
_tiling
关联 PR:https://gitcode.com/cann/ops-ras/pull/107
Document Link(文档链接)
Issues Section(问题文档片段)
bash build.sh --run_example add_example eager cust --vendor_name=custom未携带--soc参数,且未说明其须与编译算子包时取值一致。${op_name}_tiling_${sub_case}.cpp/.h);dir_structure.md 的 op_host 目录树缺少 Tiling 交付件说明。Existing Issues(存在的问题)
--soc与编译时不一致,会报error 161001(如aclnnXxxGetWorkspaceSize failed),文档未提示该约束,问题难以定位;单算子/整库/离线编译的场景指引分散,缺少统一入口。--install-path/sudo -E的处理指引。cmake/func.cmake通过file(GLOB ... *_tiling*.cpp)收集 Tiling 源文件参与编译,不含_tiling的文件不会被 glob 命中因而静默不编译,该命名约束及子场景 Tiling 可选交付件均未在文档中披露。关联 PR:https://gitcode.com/cann/ops-ras/pull/107