HI,
I am trying to run mobilenet with --use_gpu option on the Snapdragon 820 chip with Debian stretch using SNPE-NET-RUN but it is giving me the
following error:
The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.error_code=101; error_message=Invalid parameter in user config. Attempted to set a neural network configuration option GPU that is not supported on this platform.; error_component=System Configuration; line_no=143; thread_id=547743469568
I get the same error when I use the --enable_cpu_fallback option as well, it works on CPU
can someone please explain what the problem is here ?
Thanks
@gabaly Were you able to find any solution to this problem?
no, I am using the Inforce 6640 board, I am starting to think the problem is that SNPE is not detecting the hardware, so I am researching drivers for the GPU and the DSP. one driver I found was freedreno
I tried installing libopencl.so but still it didnt work, @ganesh.tata, which snapdragon are you using ?
@gabaly 820. I think that we cannot leverage the Adreno GPU through linux. When I try the clinfo cmdline tool to get info regarding the GPU on the device, it gives - "Number of platforms 0". A similar issue that I had found - https://developer.qualcomm.com/forum/qdn-forums/software/snapdragon-neur...
But this wasn't of any help either.
no luck with the older versions of libOpenCL ?
bump
thanks @jontzbaker, did anyone explore the hetrogenous compute SDK ? could that be helpful ?
Did you guys find any solution to this problem? How to make sure runtime DSP/GPU can be detected on linux? I m using 820 dev kit.
Has anyone had any luck resolving this issue? I'm seeing the same issue running Debian Stretch on an IFC6640 board.
Thanks,
no, i am the use of the Inforce 6640 board, i'm starting to suppose the problem is that SNPE isn't always detecting the hardware, so i am gaining knowledge of drivers for the GPU and the DSP. one driver i discovered become freedreno Tweakbox https://www.happywheels.vip/ https://vlc.onl/
/*-->*/ /*-->*/ /*-->*/I did some digging into the GPU drivers as well, and I've got some ideas on what the issue is, which may be wrong so please correct me if something is innaccurate. My thinking so far is that SNPE requires OpenCL to discover the Adreno, and Freedreno driver does not yet support OpenCL. Until Freedreno supports OpenCL, then we won't be able to run on the GPU on Debian. I tried installing OpenCL on the IFC6640 board and it didn't recognize that there were any GPUs available.
Any progress here? I'm running an Intrinsyc FlightPro board with an 820. I get the same behavior - snpe-net-run works fine with the cpu, but fails with the gpu.
i'm starting to suppose the problem is that SNPE isn't always detecting the hardware, so i am gaining knowledge of drivers for the GPU and the DSP.
I have tried many times to fix the problem with SNPE but there is alwyas the ahdware related issue which is truley unable to fix wrt to that of the GUP and hadware issues.
My deduction is that SNPE requires OpenCL to find the Adreno, and Freedreno driver doesn't yet uphold OpenCL. Until Freedreno upholds OpenCL, at that point we won't have the option to run on the GPU on Debian.
Anyone happy enough to fix this problem? I see the same problem with Debian Stretch on the IFC6640 card