Hi there,
I was working on porting my alrithmetic to qmath HVX based operations, however, I could not build nor run the qmath_example locating at \examples\compute\qmath_sample. I was importing the project by the following steps: File -> Import... -> Import Hexagon Project -> Executable -> Browse... -> \examples\compute\qmath_sample -> Finish. Am I doing it incorrectly?
Please help!!
BR,
Tom
Well I was able to sucessfully build and test the qmath_sample after a few trials. Here is what I found how to build and test qmath_sample code.
- Make sure you have already install make and python
- Go to qmath_sample directory and have a look at README.txt
- Open your Terminal tool and cd qmath_sample directory
- Run python qmath_sample_walkthrough.py, after running this command the following command can then be able to be executed
- Run make tree VERBOSE=1 V=hexagon_Release_toolv81_v65, then you can see your output from the terminal. You can modified the code to see how it behaves.
PS. I'm still having trouble to integrate qmath into the existing example project (i.e. capi_v2_gain example), can anyone help me with it?
BR,
Tom
Hi there,
I'm facing the same problem. I'd like to insert some qhmath functions in the capi_v2_passthru example, but I get the following issue:
When executing the build & test command, there's some undefined symbols:
To reach this point, I updated the hexagon.min file to add sources & includes directory, as well as the the list of dependencies:
I also updated the hexagon_deps.min file to point to qhmath sources, and list it as a dependency.
Bu it seems that qhmath.a is not built, which results in undefined symbols while trying to do the dlopen() in test application.
Does anyone knows how to update available examples to add qhmath support ?