登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情~
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
AI-人工智能
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
224
Star
1.3K
Fork
1.1K
Ascend
/
samples
代码
Issues
41
Pull Requests
99
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
算子注册失败,error: use of undeclared identifier 'tiling_data'
DONE
#IBEFP1
需求
Aixiny
创建于
2024-12-29 14:58
一、问题现象(附报错日志上下文): 算子注册失败,error: use of undeclared identifier 'tiling_data' 二、软件版本: -- CANN 版本:8.0.RC3.alpha002 --Python 版本:3. --NPU:910B --操作系统版本: Ubuntu 18.04 三、测试步骤: FrameworkLaunch下的AddCustom为例,我在注册算子时 输入bash build.sh 出现报错 [Ascend910B1] Generating AddCustom_1e04ee05ab491cc5ae9c3d5c9ee8950b ... Opc tool start working now, please wait for a moment. start compile Ascend C operator AddCustom. kernel name is add_custom [ERROR]: AddCustom do not registe tiling struct!!! get_code_channel coretype compile error: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:83:21: error: use of undeclared identifier 'tiling_data' GET_TILING_DATA(tiling_data, tiling); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:22: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:47: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ 3 errors generated. 四、日志信息: 全部日志信息如下 Preset CMake variables: ASCEND_CANN_PACKAGE_PATH:PATH="/usr/local/Ascend/ascend-toolkit/latest" ASCEND_COMPUTE_UNIT:STRING="ascend910b" ASCEND_PYTHON_EXECUTABLE:STRING="python3" CMAKE_BUILD_TYPE:STRING="Release" CMAKE_CROSS_PLATFORM_COMPILER:PATH="/usr/bin/aarch64-linux-gnu-g++" CMAKE_INSTALL_PREFIX:PATH="/mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out" ENABLE_BINARY_PACKAGE:BOOL="True" ENABLE_CROSS_COMPILE:BOOL="False" ENABLE_SOURCE_PACKAGE:BOOL="True" ENABLE_TEST:BOOL="True" vendor_name:STRING="customize" -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Opbuild generating sources -- Opbuild generating sources - done -- Configuring done (2.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CROSS_PLATFORM_COMPILER -- Build files have been written to: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out [ 46%] Generating scripts/install.sh, scripts/upgrade.sh [ 46%] Building CXX object framework/tf_plugin/CMakeFiles/cust_tf_parsers.dir/tensorflow_add_custom_plugin.cc.o [ 46%] Building CXX object op_host/CMakeFiles/cust_op_proto.dir/__/autogen/op_proto.cc.o [ 46%] Building CXX object op_host/CMakeFiles/cust_optiling.dir/add_custom.cpp.o [ 46%] Building CXX object op_host/CMakeFiles/cust_opapi.dir/__/autogen/aclnn_add_custom.cpp.o [ 46%] Building CXX object op_host/CMakeFiles/cust_op_proto.dir/add_custom.cpp.o [ 53%] Generating tbe/.impl_timestamp [ 69%] Generating tbe/op_info_cfg/ai_core/npu_supported_ops.json [ 69%] Generating tbe/op_info_cfg/ai_core/ascend910b/aic-ascend910b-ops-info.json [ 69%] Built target gen_version_info /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/autogen /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/tbe/op_info_cfg/ai_core [ 69%] Built target modify_vendor [INFO] Succed generated /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/tbe/op_info_cfg/ai_core/npu_supported_ops.json ==============check valid for ops info start============== ==============check valid for ops info end================ Compile op info cfg successfully. [ 69%] Built target npu_supported_ops [ 69%] Built target ops_info_gen_ascend910b [ 69%] Built target ascendc_impl_gen [ 76%] Linking CXX shared library libcust_opapi.so [ 76%] Built target cust_opapi [ 84%] Linking CXX shared library libcust_tf_parsers.so [ 84%] Built target cust_tf_parsers [ 92%] Linking CXX shared library libcust_opmaster_rt2.0.so [100%] Linking CXX shared library libcust_opsproto_rt2.0.so [100%] Built target cust_optiling [100%] Built target optiling_compat [100%] Built target cust_op_proto Run CPack packaging tool... CPack: Create package using External CPack: Install projects CPack: - Run preinstall target for: opp CPack: - Install project: opp [] CPack: Create package About to compress 568 KB of data... Adding files to archive named "custom_opp_euleros_aarch64.run"... ./install.sh ./packages/vendors/customize/framework/tensorflow/libcust_tf_parsers.so ./packages/vendors/customize/framework/tensorflow/npu_supported_ops.json ./packages/vendors/customize/op_api/include/aclnn_add_custom.h ./packages/vendors/customize/op_api/lib/libcust_opapi.so ./packages/vendors/customize/op_impl/ai_core/tbe/config/ascend910b/aic-ascend910b-ops-info.json ./packages/vendors/customize/op_impl/ai_core/tbe/customize_impl/dynamic/add_custom.cpp ./packages/vendors/customize/op_impl/ai_core/tbe/customize_impl/dynamic/add_custom.py ./packages/vendors/customize/op_impl/ai_core/tbe/kernel/ascend910b/add_custom/ ./packages/vendors/customize/op_impl/ai_core/tbe/kernel/config/ascend910b/ ./packages/vendors/customize/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so ./packages/vendors/customize/op_impl/ai_core/tbe/op_tiling/liboptiling.so ./packages/vendors/customize/op_proto/inc/op_proto.h ./packages/vendors/customize/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so ./packages/vendors/customize/version.info ./upgrade.sh CRC: 3482732310 SHA256: a15d1974cc6be1bcb11d7c8057b2c23a7087b661dd15b2e49df4d5f911ac078c Skipping md5sum at user request Self-extractable archive "custom_opp_euleros_aarch64.run" successfully created. Copy /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/_CPack_Packages/Linux/External/custom_opp_euleros_aarch64.run/custom_opp_euleros_aarch64.run to /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/ CPack: - package: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/custom_opp_euleros_aarch64.run.json generated. CPack: - package: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/custom_opp_euleros_aarch64.run generated. Verifying archive integrity... 100% SHA256 checksums are OK. All good. Uncompressing version:1.0 100% [runtime] [2024-12-29 14:33:18] [INFO] copy uninstall sh success chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/vendors': Operation not permitted [ops_custom]upgrade framework tensorflow [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops framework files .g..... [runtime] [2024-12-29 14:33:18] copy new ops framework files ...... [ops_custom]upgrade op proto inc lib [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops op_proto files .g..... [runtime] [2024-12-29 14:33:18] copy new ops op_proto files ...... [ops_custom]upgrade version.info [runtime] [2024-12-29 14:33:18] copy new version.info files ...... [ops_custom]upgrade op impl ai_core [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops op_impl files .g..... [runtime] [2024-12-29 14:33:18] copy new ops op_impl files ...... [ops_custom]upgrade op api include lib [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops op_api files .g..... [runtime] [2024-12-29 14:33:18] copy new ops op_api files ...... [runtime] [2024-12-29 14:33:18] [INFO] no need to upgrade custom.proto files chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/vendors': Operation not permitted chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/ascend_install.info': Operation not permitted chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/scene.info': Operation not permitted chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/version.info': Operation not permitted SUCCESS [100%] Built target ascendc_impl_gen [100%] Built target ascendc_bin_ascend910b_add_custom_copy [100%] Built target ascendc_bin_ascend910b [Ascend910B1] Generating AddCustom_1e04ee05ab491cc5ae9c3d5c9ee8950b ... Opc tool start working now, please wait for a moment. start compile Ascend C operator AddCustom. kernel name is add_custom [ERROR]: AddCustom do not registe tiling struct!!! get_code_channel coretype compile error: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:83:21: error: use of undeclared identifier 'tiling_data' GET_TILING_DATA(tiling_data, tiling); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:22: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:47: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ 3 errors generated. /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/bin/add_custom/AddCustom_1e04ee05ab491cc5ae9c3d5c9ee8950b.json not generated! gmake[3]: *** [op_kernel/CMakeFiles/ascendc_bin_ascend910b_add_custom_0.dir/build.make:70: op_kernel/CMakeFiles/ascendc_bin_ascend910b_add_custom_0] Error 1 gmake[2]: *** [CMakeFiles/Makefile2:507: op_kernel/CMakeFiles/ascendc_bin_ascend910b_add_custom_0.dir/all] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:409: op_kernel/CMakeFiles/binary.dir/rule] Error 2 gmake: *** [Makefile:306: binary] Error 2
一、问题现象(附报错日志上下文): 算子注册失败,error: use of undeclared identifier 'tiling_data' 二、软件版本: -- CANN 版本:8.0.RC3.alpha002 --Python 版本:3. --NPU:910B --操作系统版本: Ubuntu 18.04 三、测试步骤: FrameworkLaunch下的AddCustom为例,我在注册算子时 输入bash build.sh 出现报错 [Ascend910B1] Generating AddCustom_1e04ee05ab491cc5ae9c3d5c9ee8950b ... Opc tool start working now, please wait for a moment. start compile Ascend C operator AddCustom. kernel name is add_custom [ERROR]: AddCustom do not registe tiling struct!!! get_code_channel coretype compile error: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:83:21: error: use of undeclared identifier 'tiling_data' GET_TILING_DATA(tiling_data, tiling); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:22: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:47: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ 3 errors generated. 四、日志信息: 全部日志信息如下 Preset CMake variables: ASCEND_CANN_PACKAGE_PATH:PATH="/usr/local/Ascend/ascend-toolkit/latest" ASCEND_COMPUTE_UNIT:STRING="ascend910b" ASCEND_PYTHON_EXECUTABLE:STRING="python3" CMAKE_BUILD_TYPE:STRING="Release" CMAKE_CROSS_PLATFORM_COMPILER:PATH="/usr/bin/aarch64-linux-gnu-g++" CMAKE_INSTALL_PREFIX:PATH="/mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out" ENABLE_BINARY_PACKAGE:BOOL="True" ENABLE_CROSS_COMPILE:BOOL="False" ENABLE_SOURCE_PACKAGE:BOOL="True" ENABLE_TEST:BOOL="True" vendor_name:STRING="customize" -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Opbuild generating sources -- Opbuild generating sources - done -- Configuring done (2.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CROSS_PLATFORM_COMPILER -- Build files have been written to: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out [ 46%] Generating scripts/install.sh, scripts/upgrade.sh [ 46%] Building CXX object framework/tf_plugin/CMakeFiles/cust_tf_parsers.dir/tensorflow_add_custom_plugin.cc.o [ 46%] Building CXX object op_host/CMakeFiles/cust_op_proto.dir/__/autogen/op_proto.cc.o [ 46%] Building CXX object op_host/CMakeFiles/cust_optiling.dir/add_custom.cpp.o [ 46%] Building CXX object op_host/CMakeFiles/cust_opapi.dir/__/autogen/aclnn_add_custom.cpp.o [ 46%] Building CXX object op_host/CMakeFiles/cust_op_proto.dir/add_custom.cpp.o [ 53%] Generating tbe/.impl_timestamp [ 69%] Generating tbe/op_info_cfg/ai_core/npu_supported_ops.json [ 69%] Generating tbe/op_info_cfg/ai_core/ascend910b/aic-ascend910b-ops-info.json [ 69%] Built target gen_version_info /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/autogen /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/tbe/op_info_cfg/ai_core [ 69%] Built target modify_vendor [INFO] Succed generated /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/tbe/op_info_cfg/ai_core/npu_supported_ops.json ==============check valid for ops info start============== ==============check valid for ops info end================ Compile op info cfg successfully. [ 69%] Built target npu_supported_ops [ 69%] Built target ops_info_gen_ascend910b [ 69%] Built target ascendc_impl_gen [ 76%] Linking CXX shared library libcust_opapi.so [ 76%] Built target cust_opapi [ 84%] Linking CXX shared library libcust_tf_parsers.so [ 84%] Built target cust_tf_parsers [ 92%] Linking CXX shared library libcust_opmaster_rt2.0.so [100%] Linking CXX shared library libcust_opsproto_rt2.0.so [100%] Built target cust_optiling [100%] Built target optiling_compat [100%] Built target cust_op_proto Run CPack packaging tool... CPack: Create package using External CPack: Install projects CPack: - Run preinstall target for: opp CPack: - Install project: opp [] CPack: Create package About to compress 568 KB of data... Adding files to archive named "custom_opp_euleros_aarch64.run"... ./install.sh ./packages/vendors/customize/framework/tensorflow/libcust_tf_parsers.so ./packages/vendors/customize/framework/tensorflow/npu_supported_ops.json ./packages/vendors/customize/op_api/include/aclnn_add_custom.h ./packages/vendors/customize/op_api/lib/libcust_opapi.so ./packages/vendors/customize/op_impl/ai_core/tbe/config/ascend910b/aic-ascend910b-ops-info.json ./packages/vendors/customize/op_impl/ai_core/tbe/customize_impl/dynamic/add_custom.cpp ./packages/vendors/customize/op_impl/ai_core/tbe/customize_impl/dynamic/add_custom.py ./packages/vendors/customize/op_impl/ai_core/tbe/kernel/ascend910b/add_custom/ ./packages/vendors/customize/op_impl/ai_core/tbe/kernel/config/ascend910b/ ./packages/vendors/customize/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so ./packages/vendors/customize/op_impl/ai_core/tbe/op_tiling/liboptiling.so ./packages/vendors/customize/op_proto/inc/op_proto.h ./packages/vendors/customize/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so ./packages/vendors/customize/version.info ./upgrade.sh CRC: 3482732310 SHA256: a15d1974cc6be1bcb11d7c8057b2c23a7087b661dd15b2e49df4d5f911ac078c Skipping md5sum at user request Self-extractable archive "custom_opp_euleros_aarch64.run" successfully created. Copy /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/_CPack_Packages/Linux/External/custom_opp_euleros_aarch64.run/custom_opp_euleros_aarch64.run to /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/ CPack: - package: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/custom_opp_euleros_aarch64.run.json generated. CPack: - package: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/custom_opp_euleros_aarch64.run generated. Verifying archive integrity... 100% SHA256 checksums are OK. All good. Uncompressing version:1.0 100% [runtime] [2024-12-29 14:33:18] [INFO] copy uninstall sh success chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/vendors': Operation not permitted [ops_custom]upgrade framework tensorflow [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops framework files .g..... [runtime] [2024-12-29 14:33:18] copy new ops framework files ...... [ops_custom]upgrade op proto inc lib [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops op_proto files .g..... [runtime] [2024-12-29 14:33:18] copy new ops op_proto files ...... [ops_custom]upgrade version.info [runtime] [2024-12-29 14:33:18] copy new version.info files ...... [ops_custom]upgrade op impl ai_core [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops op_impl files .g..... [runtime] [2024-12-29 14:33:18] copy new ops op_impl files ...... [ops_custom]upgrade op api include lib [runtime] [2024-12-29 14:33:18] [INFO] replace or merge old ops op_api files .g..... [runtime] [2024-12-29 14:33:18] copy new ops op_api files ...... [runtime] [2024-12-29 14:33:18] [INFO] no need to upgrade custom.proto files chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/vendors': Operation not permitted chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/ascend_install.info': Operation not permitted chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/scene.info': Operation not permitted chmod: changing permissions of '/usr/local/Ascend/ascend-toolkit/latest/opp/version.info': Operation not permitted SUCCESS [100%] Built target ascendc_impl_gen [100%] Built target ascendc_bin_ascend910b_add_custom_copy [100%] Built target ascendc_bin_ascend910b [Ascend910B1] Generating AddCustom_1e04ee05ab491cc5ae9c3d5c9ee8950b ... Opc tool start working now, please wait for a moment. start compile Ascend C operator AddCustom. kernel name is add_custom [ERROR]: AddCustom do not registe tiling struct!!! get_code_channel coretype compile error: /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:83:21: error: use of undeclared identifier 'tiling_data' GET_TILING_DATA(tiling_data, tiling); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:22: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/src/add_custom.cpp:85:47: error: use of undeclared identifier 'tiling_data' op.Init(x, y, z, tiling_data.totalLength, tiling_data.tileNum); ^ 3 errors generated. /mnt/nvme0/aix/samples/operator/AddCustomSample/FrameworkLaunch/AddCustom/build_out/op_kernel/binary/ascend910b/bin/add_custom/AddCustom_1e04ee05ab491cc5ae9c3d5c9ee8950b.json not generated! gmake[3]: *** [op_kernel/CMakeFiles/ascendc_bin_ascend910b_add_custom_0.dir/build.make:70: op_kernel/CMakeFiles/ascendc_bin_ascend910b_add_custom_0] Error 1 gmake[2]: *** [CMakeFiles/Makefile2:507: op_kernel/CMakeFiles/ascendc_bin_ascend910b_add_custom_0.dir/all] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:409: op_kernel/CMakeFiles/binary.dir/rule] Error 2 gmake: *** [Makefile:306: binary] Error 2
评论 (
2
)
登录
后才可以发表评论
状态
DONE
TODO
WIP
DONE
CLOSED
REJECTED
负责人
未设置
Ch_confuse
ch-confuse
负责人
协作者
+负责人
+协作者
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/ascend/samples.git
git@gitee.com:ascend/samples.git
ascend
samples
samples
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册