Snapdragon Neural Processing Engine (SNPE)


#1

I was trying to get the SNPE example AlexNet (SNPE version 1.13.0) running on the DragonBoard820c, but when running

snpe-net-run

I receive the following error:

FATAL 0 tffffae79b010 /home/host/build/aarch64-linux-gcc4.9/SecondParty/symphony/src/symphony/src/lib/runtime.cc:468 runtime_init() This version of Symphony is targeted to Snapdragon™ platforms
tffffae79b010 /home/host/build/aarch64-linux-gcc4.9/SecondParty/symphony/src/symphony/src/lib/runtime.cc:468 - Terminating with exit(1)

it seems that the symphony library libsymphony-cpu.so is detecting that it is not running on a Snapdragon platform although it obviously is.
When checking the output of /proc/cpuinfo, vendor_id, model and model_name are not specified:

processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x211
CPU revision : 2

processor : 1
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x211
CPU revision : 2

processor : 2
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x205
CPU revision : 2

processor : 3
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x205
CPU revision : 2

Do you think the /proc/cpuinfo is related to this problem?

Is there any information about the support of SNPE on the DragonBoard 820c?

Some more information:
uname -r
Linux linaro-alip 4.11.0-qcomlt #1 SMP PREEMPT Mon Nov 6 23:24:36 UTC 2017 aarch64 GNU/Linux


#2

I don’t think so. This SDK is designed to sit on top of the Qualcomm vendor kernel and their Android port, neither of which are present in the Debian builds for Dragonboard 820C.


#3

Hi,
I am also very interested in using this feature with the 820C.
From Qualcomm support side we can see that for Snapdragon 625 and 626 SNPE is supported under Linux.
What do we need to do to get Linux support for 820?