Hi,
I am trying to run the alexnet tutorial on my phone. It works successfully on CPU only but I'm getting the following error when running the GPU.
error_code=808; error_message=OpenCL check has failed. Failed to compile program.; error_component=GPU Runtime; line_no=393; thread_id=-1387444940; opencl_error=-44
The command I used was:snpe-net-run --container bvlc_alexnet.dlc --input_list target_raw_list.txt --use_gpu
The phone is Motorolla G5 Plus and the Android version is 7.0
Thank you. It looks like you're running Snapdragon NPE in a proper way.
In order to help us understand more on this failure, can you provide us with the results of running the OpenCL-Z App on your phone ? We're interested to see the information provided by it.
Hi,
Sure. I have not used this app before. Do you want me to post the results of 'Export OpenCL info'? Is there another feature I should post?
Thanks!
Here are the results from export opencl info: https://pastebin.com/XYbaktFe
Thanks a lot for running the tool and providing the informatio.
We're checking internally, and will update you as we have some insights.
Thanks Ofer!
Thank you for your patience.
The SDK comes with two SNPE libraries : libSNPE.so and libSNPE_g.so. The second one is a GPU-only libray. Can you test it on your device, and see if you're also getting compilation error ?
Hi Ofer,
I forgot to mention that I had tried that already and I still got the compilation error. I tested it again and it still threw the error.
Thanks
Thanks for doing this experiment. Are you getting exactly the same error message ? if not, can you provide both errors from each library ?
Regarding the phone, there are a few sub-versions of G5 plus (XT1684 (Single SIM); XT1685 (Dual SIM); XT1687 (USA)). Which one are you using ?
Thanks.