What float-abi and fpu should be used for Raspberry Pi ARMv7l model so file?

Found the solution!!! use “hf” HardFloat version g++ - arm-linux-gnueabihf-g++

compile and export model library for ARMv7 (Raspberry Pi 3B+) on x86 box

target = tvm.target.arm_cpu('rasp3b')
...
# Use hf HardFloat version of g++!!!
lib.export_library(“model.so”, cc="/usr/bin/arm-linux-gnueabihf-g++")
2 Likes