System libraries
This page lists all the system-level APIs provided in the Hexagon base SDK and where you can find more information about them.
Usage for all system-level APIs is illustrated in the HAP example except for the ION memory allocator, which is illustrated in the calculator example.
Application-side APIs
APIs | Summary |
---|---|
ION memory allocator | Allocate ION memory to be shared between CPU and DSP |
Remote APIs | Query and manage DSP capabilities |
itrace library | Monitor DSP and CPU events using APIs available from the CPU |
DSP-side APIs
The Hexagon SDK includes a number of APIs referred as Hexagon Access Program (HAP) APIs, which provide access to Hexagon capabilities. These APIs in the table below.
APIs | Summary |
---|---|
Performance and power manager | Manage performance and power modes of the DSP |
L2 cache manager | Lock & unlock L2 cache |
VTCM manager | Allocate VTCM |
Compute resource manager | Allocate compute resources |
PMU manager | Track hardware events |
Performance timers | Measure processing time |
Heap and mapping manager | Manage the user PD heap memory and control buffer mapping into this memory |
DSP worker pool | General purpose, efficient thread worker pool to assist in multithreading compute workloads. Available under $HEXAGON_SDK_ROOT/libs/worker_pool |
itrace library | Monitor DSP events (PMU counters and others) using APIs available from the DSP |