I am trying to compile TensorFlow optimized for the Hexagon DSP (ref: https://www.qualcomm.com/news/onq/2017/01/09/tensorflow-machine-learning...).
Specifically I have been trying to follow the example here: https://github.com/tensorflow/tensorflow/tree/r1.3/tensorflow/contrib/hv...Compilation succeeds using Hexagon SDK 3.2 and TensorFlow 1.3.
However, when I run into the following problems:
1) running the executable cannot find the FastRPC shared object libadsprpc.so:
*/
*/> adb shell 'LD_LIBRARY_PATH=/data/local/tmp:$LD_LIBRARY_PATH' "/data/local/tmp/hexagon_graph_execution"
CANNOT LINK EXECUTABLE "/data/local/tmp/hexagon_graph_execution": library "libadsprpc.so" not found
2) following the docs in the SDK under Technologies_FastRPC.html#Setup, I have run the following to check the FastRPC is running:
> adb shell ls /dev/adsprpc-smd
ls: /dev/adsprpc-smd: No such file or directory> adb shell ls /system/lib/modules/adsprpc.ko
ls: /system/lib/modules/adsprpc.ko: No such file or directory
The documentation states that in this case, the FastRPC module is not supported. I find this hard to believe. Can you advice how to get FastRPC installed/running?
I am using an (unrooted) Samsung S8. I would think this should be possible without having to root the phone?
Thanks.
*/ */
check if libadsprpc.sp exits in your target device(/system/vendor/lib/libadsprpc.so,/system/vendor/lib64/libadsprpc.so),you can push the libadsprpc.so in Hexagon_SDK/3.2/libs/common/remote/ship/to the above location