Questions tagged [hexagon-dsp]

Hexagon is a Digital Signal Processor (DSP), based on 32-bit multithreaded CPU architecture developed by Qualcomm. Hexagon DSPs are included in Snapdragon SoC since 2006. They are also used in some femtocell processors of Qualcomm, including FSM9832.

51 questions
7
votes
0 answers

Android / Ok Google / Snapdragon Voice Activation / Hexagon DSP

Hexagon DSP processor allows activate your device while it’s on standby https://qualcomm.com/videos/snapdragon-voice-activation. Some Android devices support this feature, for example Google Pixel reacts to keyphrase "Ok Google". In the source code…
5
votes
1 answer

Enabling HVX SIMD in Hexagon DSP by using instruction intrinsics

I was using Hexagon-SDK 3.0 to compile my sample application for HVX DSP architecture. There are many tools related to Hexagon-LLVM available to use located folder at: ~/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin I wrote a small example to calculate…
Amir
  • 1,348
  • 3
  • 21
  • 44
4
votes
1 answer

What is the difference between Tensorflow XLA and Tensorflow Lite / Android NNAPI?

Tensorflow came out with the XLA compiler which compiles the backend C++ tensorflow targeting LLVM. My understanding about XLA was that it was a step towards supporting generic accelerated devices, so long as there was LLVM -> Device…
David Parks
  • 30,789
  • 47
  • 185
  • 328
3
votes
1 answer

Qualcomm Hexagon: Optimize MAC-loop

I would like to DSP-optimize a simple multiply-accumulate for-loop for the QC Hexagon. From the manual, it's not perfectly clear to me how to do that, both for the vector version and the non-vector version. Assume my loop has a length which is a…
3
votes
1 answer

Building Android MSM for MSM8994 or MSM8998 to access DSP

The upshot is I want to run code on the Hexagon DSP. I've tried building Android-MSM for msm8994-eng (for a Nexus 6P) and msm8998-eng (for Intrinsyc APQ8098) but I get build errors with both. I'm building on Ubuntu 14.04 with openjdk-8. Not finding…
3
votes
0 answers

Tensorflow 1.2 Android Demo and Hexagon (Qualcomm 835)

Will Tensorflow 1.2 Android Demo utilize Hexagon (Qualcomm 835) or not? More general question: does Tensorflow 1.2 for Android (from jcenter) include specific code for supporting Hexagon? PS Previously it was not supported according TensorFlow HVX…
sibnick
  • 3,995
  • 20
  • 20
3
votes
0 answers

compiler failed when building tensorflow/contrib/makefile/build_all_android.sh

When I building the nnlib to run it in Hexagon DSP hvx, I follow the command in https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx. It cannot build successfully as the errors occur as following: checking whether to enable…
3
votes
1 answer

TensorFlow HVX Acceleration support

I successfully built and ran the test application from https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx. I'd now like to benchmark HVX against the CPU implementation of…
Ziyan
  • 134
  • 1
  • 5
3
votes
1 answer

build tensorflow with HEXAGON_LIBS

I want to build tensorflow with qualcomm hexagon libraries, just as the makefile like this tensorflow/contrib/makefile/Makefile ifdef HEXAGON_LIBS LIBGEMM_WRAPPER := $(HEXAGON_LIBS)/libgemm_wrapper.so ifeq ($(shell test -f…
niewei
  • 31
  • 1
2
votes
2 answers

HEXAGON Halide Tools 2.3: /usr/bin/ld: cannot find -lc++abi

I did not get response from Qualcomm forum so I decided to post here. When I was trying to run examples of Halide for Hexagon by running make run as written in the document. Then I got the following issue. The -lc++abi is missing. clang++ -std=c++11…
Yaoshen
  • 23
  • 4
2
votes
1 answer

Qualcomm DSP: hexagon-sim with command line arguments

I am profiling c code on a hexagon simulator with the following tool: Qualcomm/Hexagon_SDK/3.5.3/tools/HEXAGON_Tools/8.3.07/Tools/bin/hexagon-sim --timing --profile binary.hexagon The binary is built with the…
2
votes
0 answers

HVX Camera Streaming (Hexagon SDK) is not working in Intrinsyc Qualcomm Snapdtragon 845 uSOM Dev. Kit

I have been practicing sample codes of Hexagon DSP SDK on Intrinsyc Open-Q™ 845 uSOM Hardware Development Kit. when i have tried with the camera streaming example i was able to execute the code and run it in DSP, even though i'm not getting a valid…
2
votes
1 answer

Running Tensorflow Lite demo models on Hexagon DSP

I've built the Tensorflow Lite demo camera app using the pre-trained mobilenet model as described at https://www.tensorflow.org/lite/convert/cmdline_examples. As I understand the Android NNAPI (neural network api) supports the Qualcomm Hexagon DSP…
David Parks
  • 30,789
  • 47
  • 185
  • 328
2
votes
0 answers

How can I build 64-bit hvx libary?

I am trying to run TensorFlow on SD820's Hexagon DSP. I have followed the instructions and successfully built HVX in 32-bit and using libhexagon_nn_skel.so and libhexagon_controller.so, I have run TensorFlow sample app on Hexagon successfully. By…
JoonBLUE
  • 51
  • 6
2
votes
1 answer

Running the nnlib test app on the Hexagon HVX DSP

I have tried different versions of nnlibs at codeaurora and used SDK 3.0, 3.2 and 3.3.3 to compile and test them. The closest I got was to use the commit version 7321d49318a33a99e978b18411adee43df7ddaea (Jan 2018) with SDK 3.3.3 and while running…
Amir
  • 1,348
  • 3
  • 21
  • 44
1
2 3 4