Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
在编译CreateVecIndex自定义算子error: cast between floating and unsigned integer variable is not allowed in aicore function
kirinX90
使用build_and_install.sh 编译安装算子,即可复现
预期编译通过,可以验证精度
/assign
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
在编译CreateVecIndex自定义算子error: cast between floating and unsigned integer variable is not allowed in aicore function

Environment / 环境信息 (Mandatory / 必填)
kirinX90
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
使用build_and_install.sh 编译安装算子,即可复现
Describe the expected behavior / 预期结果 (Mandatory / 必填)
预期编译通过,可以验证精度
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
Special notes for this issue/备注 (Optional / 选填)