I do not find where the posix_meamalign to be defined. I use honor 畅玩30.
I have made some attempts to change posix_memalign to memalign:
- I change the some code:
-
threading_backend.cc
-
ring_buffer.h
-
hexagon_buffer.h
-
cpu_device_api.h
the result is that it can compile successfully and open the skel.so successfully without saying “posix_memalign is undefined”
- base the change in 1, I tried next:
- cpu_device_api.h
the result is that it can not compile successfully for undefined memalign
then I change ${tvm_root}/apps/hexagon_api/CMakeList.txt
and it can compile successfully and can open the skel.so without saying “posix_memalign is undefined”
With the above attempts, I got hexagon_rpc_send failed ![]()





