- download & install hexagon_sdk
- source setup_sdk_env.source
- run build_skel.sh to build libcalculator_skel.so
- adb push libcalculator_skel.so /data/app/hexagon
- build & run HexagonDemo
- input num & CalcSum
run halide in APK
- adb push ${HALIDE_ROOT}/lib/cdsp/arm-64-android/libhalide_hexagon_host.so /vendor/lib64
- modify /vendor/etc/public.libraries.txt, add <libhalide_hexagon_host.so> to tail # to make this library public, it should be in /vendor/lib64 and not under /system/ lib64
- adb push ${HALIDE_ROOT}/lib/v60/libhalide_hexagon_remote_skel.so /vendor/lib64 # make this library public, it should be in /vendor/lib64 and not under /system/lib/ rfsa/adsp/
- adb reboot & adb root