# SinhCustom **Repository Path**: zyfengaa/sinh-custom ## Basic Information - **Project Name**: SinhCustom - **Description**: Ascend C 中级 - **Primary Language**: Unknown - **License**: Artistic-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-06-26 - **Last Updated**: 2024-08-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1、进入SinhCustom目录,修改配置项CMakePresets.json,只需要将ASCEND_CANN_PACKAGE_PATH、ASCEND_COMPUTE_UNIT配置项修改为实际CANN包安装路径、910芯片 ``` "ASCEND_CANN_PACKAGE_PATH": { "type": "PATH", "value": "/usr/local/Ascend/ascend-toolkit/latest/" }, "ASCEND_COMPUTE_UNIT": { "type": "STRING", "value": "ascend910" }, ``` 2、执行build.sh来验证有没有编译时错误,若没有错误则安装编译后的算子包 cd build_out && ./custom_opp_ubuntu_aarch64.run 3、进入目录AclNNInvocation,执行run.sh输出一下信息: ``` INFO: acl executable run success! input1: [ 0.468 -0.2585 -3.066 ... 0.9136 -1.117 -1.368 ] output: [ 0.485 -0.2615 -10.71 ... 1.047 -1.365 -1.837 ] -------------golden is : golden: [ 0.4854 -0.2615 -10.71 ... 1.046 -1.364 -1.837 ] INFO: compare golden data success! ```