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
1
vote
1 answer

hexagon nnlib : output tensor prep fail -9

With Hexagon DSP SDK 3.4.3, I'm following the Tensorflow/Hexagon-NN example at examples/hexagon_nn/tutorials/007-tensorflow-to-hexagon-nn and using the Hexagon NN lib at libs/hexagon_nn/2.6. I've converted my own TensorFlow net into iv3.c and built…
paleozogt
  • 6,393
  • 11
  • 51
  • 94
1
vote
0 answers

How to align the memory using Hexagon intrinsics?

In an array of short type, i want to access the 1st element using intrinsics of hexagon but when I use that am getting the value of a 4th element . What is the problem? Is there any intrinsic to do that?
1
vote
0 answers

Profiling on Hexagon DSP

I want to profile code on Hexagon Dsp using sysMon_DSP_profiler nad i have installed it but it is continously crashing .Is there any solution to this problem or any other method to do profiling on target.
1
vote
0 answers

HEXAGON DSP Porting

I want to port our algorithm using HVX intrinsics of Hexagon DSP but am unable to understand how to use them and one more question is i have used vector 64 bit intrinsics but when i profile the code cycles are less for C code than using vector…
1
vote
0 answers

CANNOT LINK EXECUTABLE qualcomm hexagon 682

I have been trying to understand how to write code targeting the qualcomm hexagon 682. In order to understand how build a project I imitated the makefiles they had in the the calculator example. I have sucessfully built the project. Put the…
1
vote
0 answers

Not able to run the gaussian7x7 example of hexagon dsp

I am trying to run the gaussian7x7 example of hexagon sdk. I am getting following errors: map_object.c:521:0x9096:uimg not supported map_object.c:521:0xa0a1:uimg not supported symbol.c:336:0xc0e5:__cxa_finalize weak ref not found,return…
Ayush Goel
  • 21
  • 2
1
vote
0 answers

Intergrating Opencv into hexagon DSP

I want to include Opencv to Hexagon DSP. What i want to ask is how to add opencv to android.min file. When we want to add opencv to android project we simple give the path of opencv.mk in our make file(Android.mk) but hexagon dsp uses some make.d…
Ayush Goel
  • 21
  • 2
1
vote
1 answer

How to profile code in hexagon dsp simulator

I have been trying to compile my code using -pg to enable profiling in the simulator and once I do that it gives me linker errors. Compilation command hexagon-clang++ main.cpp -o hello -mv62 -pg Error hexagon-clang++ main.cpp -o hello -mv62…
1
vote
0 answers

Building libhexagon nnlib issue : (No rule to make target `adspmsgd.a')

I am using SDK 3.0, nnlib version(721b2d58f) as suggested in TF-HVX and passed the compilation tree of make tree VERBOSE=1 V=hexagon_Release_dynamic_toolv72_v60, however, on the android compilation (make tree VERBOSE=1 V=android_Release), I am stuck…
Amir
  • 1,348
  • 3
  • 21
  • 44
1
vote
1 answer

Failed to execute MI command (Hexagon SDK)

I am trying to run the calculator example from the Hexagon SDK IDE (Eclipse based) on the snapdragon 820 development kit (AQP8096) on Windows 10 (64bit). I imported both projects: the hexagon common library project "libcalculator_skel" and the…
Migui Mag
  • 187
  • 1
  • 3
  • 13
1
vote
1 answer

Can not execute hexagon_graph_execution on hexagon-sim

I have followed the build_and_run_inception_hexagon.sh and generated the hexagon_graph_execution executable. Now instead of using a real device I would like to test inception model with hexagon-sim available at SDK 3.0. So there is no need to use…
Amir
  • 1,348
  • 3
  • 21
  • 44
1
vote
1 answer

Error building on Open Q 820 Snapdragon 820 Hexagon 3.2 when trying to compile and link the stub and skeleton

I am trying to run the calculator example for Hexagon DSP SDK following the instructions in file:///C:/Qualcomm/Hexagon_SDK/3.2/docs/calculator_android.html In the command line I have setup the sdk in the following way: setup_sdk_env.cmd I have…
Migui Mag
  • 187
  • 1
  • 3
  • 13
1
vote
1 answer

Not able to build libhexagon_controller.so [missing files in nnlib: GRAPHINIT := /prj/dsp/qdsp6/arch/cnn/setup/inceptionv3_uint8in.c]

I have been following the steps provided at below link, for using tensorflow on hexagon. https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx I facing 2 issues with the build, (1) while building graph_app standalone app for…
kzs
  • 1,793
  • 3
  • 24
  • 44
1
vote
2 answers

Android - Dynamic module(.so) needs to be production signed

As i understand this from Hexagon DSP document: To enable a .so to be successfully deployed on production devices across a large number of OEM devices, the dynamic module needs to be production signed by the OEM. ISVs are encouraged to work…
1
vote
1 answer

Hexagon compiler having trouble with `typedef struct mystruct *mystruct`

I have this line in a header file: typedef struct mystruct *mystruct; And the corresponding struct definition in a .c file. Pretty standard practices. I am getting this compilation error: fatal error: typedef redefinition with different types…
errolflynn
  • 641
  • 2
  • 11
  • 24