# Sample apps

Source: [https://docs.qualcomm.com/doc/80-77512-1/topic/hexagon-dsp-sdk-sample-apps.html](https://docs.qualcomm.com/doc/80-77512-1/topic/hexagon-dsp-sdk-sample-apps.html)

The Hexagon SDK contains examples that can be used as a starting point for more
        advanced audio, dynamic, and FastRPC modules.

- calculator and calculator\_c++ – HLOS application that remotely invokes C/C++
                functions on the DSP using FastRPC.
- calculator\_c++\_apk – illustrates how to build an end-to-end Android APK that uses
                C++ APIs in the Android application layer and offloads computation to the DSP.
- dspqueue – illustrates using Asynchronous DSP packet queue for communication between
                the host CPU and the cDSP.
- hap\_example – illustrates the usage of the remote APIs and HAP APIs.
- itrace – illustrates how to use the itrace library to monitor CPU and DSP activity
                using various profiling events.
- lpi\_example – illustrates how to generate a shared object that can be loaded in LPI
                mode and non-LPI mode.
- multithreading – illustrates usage of QuRT APIs and benefits of using multithreading
                and L2 prefetching.
- oem\_config – programmed to blacklist certain shared objects that have security
                vulnerabilities.
- profiling – illustrates the use of the various profiling tools and APIs available on
                the Hexagon SDK.

Last Published: Jul 10, 2024

[Previous Topic
Libraries/APIs](https://docs.qualcomm.com/bundle/publicresource/80-77512-1/topics/hexagon-dsp-sdk-libraries-apis.md)