Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation Methods

  • To use basic HMPP functions, add the following compile options:

    -L /usr/local/lib/HMPP -lHMPP_core

  • To use the HMPP signal library, install the Kunpeng Math Library (KML) first. For details, see Kunpeng Math Library Developer Guide. Then, add the following compile options:

    -L /usr/local/kml/lib/ -lkfft -lkfftf -L /usr/local/kml/lib/kvml/single -lkvml -lkm -lm -L /usr/local/kml/lib/kblas/locking -lkblas -L /usr/local/lib/HMPP -lHMPP_signal -lHMPP_core -lpthread

  • To use the HMPP image library, add the following compile options:

    -L /usr/local/lib/HMPP -lHMPP_image -lHMPP_core -lm

  • To use the HMPP audio library, add the following compile options:

    -L /usr/local/lib/HMPP -lHMPP_audio -lHMPP_core -lm