HAP VTCM manager
HAP VTCM manager API
HAP_vtcm_mgr.h File Reference

APIs used to allocate, release, and query Vector TCM (VTCM) memory. VTCM is a high-performance, tightly-coupled memory in the cDSP subsystem. It can used for Hexagon Vector eXtensions (HVX) scatter/gather instructions, the Hexagon Matrix eXtension (HMX) engine (available in some cDSPs starting with Lahaina), or as high-performance scratch memory for other HVX workloads. More...

Go to the source code of this file.

Functions

void * HAP_request_async_VTCM (unsigned int size, unsigned int single_page_flag, unsigned int timeout_us)
 
void * HAP_request_VTCM (unsigned int size, unsigned int single_page_flag)
 
int HAP_release_VTCM (void *pVA)
 
int HAP_query_total_VTCM (unsigned int *page_size, unsigned int *page_count)
 
int HAP_query_avail_VTCM (unsigned int *avail_block_size, unsigned int *max_page_size, unsigned int *num_pages)
 

Detailed Description

APIs used to allocate, release, and query Vector TCM (VTCM) memory. VTCM is a high-performance, tightly-coupled memory in the cDSP subsystem. It can used for Hexagon Vector eXtensions (HVX) scatter/gather instructions, the Hexagon Matrix eXtension (HMX) engine (available in some cDSPs starting with Lahaina), or as high-performance scratch memory for other HVX workloads.