Skip to content

[Bug] Building for qualcomm hexagon dsp V66 architeture  #17163

@chayliu-ecarx

Description

@chayliu-ecarx

TVM Commit id: d0cbb02
Qualcomm Hexagon SDK version: V5.5

building as following:
cd apps/hexagon_api/build
cmake -DANDROID_ABI=arm64-v8a
-DANDROID_PLATFORM=android-28
-DUSE_ANDROID_TOOLCHAIN=Hexagon_SDK_5_5/tools/android-ndk-r25c/build/cmake/android.toolchain.cmake
-DUSE_HEXAGON_ARCH=v66
-DUSE_HEXAGON_SDK=Hexagon_SDK_5_5
-DUSE_HEXAGON_TOOLCHAIN=Hexagon_SDK_5_5/tools/HEXAGON_Tools/8.7.06/Tools
-DUSE_OUTPUT_BINARY_DIR=hexagon_api_build_output/ ..

with error message:
/qhl_hvx/inc/internal/qhmath_hvx_vector.h:910:40: error: use of undeclared identifier 'Q6_Vqf16_vadd_Vqf16Vhf'
/qhl_hvx/inc/internal/qhmath_hvx_vector.h:912:66: error: use of undeclared identifier 'Q6_Vhf_equals_Vqf16'
...

runtime/hexagon/ops/conv2d_fp16_hvx.cc:142:26: error: use of undeclared identifier 'Q6_Vqf16_vadd_Vqf16Vqf16'
HVX_Vector v_reduced = Q6_Vqf16_vadd_Vqf16Vqf16(v_res, v_rot);
runtime/hexagon/ops/conv2d_fp16_hvx.cc:345:39: error: use of undeclared identifier 'Q6_Vqf16_vadd_VhfVhf'
HVX_Vector out_vec_qf16 = Q6_Vqf16_vadd_VhfVhf(out_final, existing_out_vec);
...

Metadata

Metadata

Assignees

Labels

needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions