msm8976上使用SNPE运行alexnet发现GPU比CPU更耗时??
参考的:Snapdragon Neural Processing Engine SDK 的 Reference Guide,位置:Example Tutorials -> Running Nets -> Running the AlexNet Model 。
运行: time snpe-net-run --container bvlc_alexnet.dlc --input_list target_raw_list.txt
可以看到时间: 0m04.32s real 0m05.88s user 0m01.88s system
多次测试时间接近
但是运行:time snpe-net-run --container bvlc_alexnet.dlc --input_list target_raw_list.txt --use_gpu
看到时间为: 0m08.04s real 0m04.21s user 0m03.64s system
多次测试时间接近
看文档介绍,使用GPU应该是会更快点不是吗?