Vector TCM (VTCM) is available on supported targets with cDSP. VTCM is a high-performance, tightly-coupled memory in the cDSP subsystem that can be used for Hexagon Vector eXtensions (HVX) scatter/gather instructions, Hexagon Matrix eXtension (HMX)(available in some cDSPs starting with Lahaina), or as high-performance scratch memory for other HVX workloads.
The VTCM manager exposes APIs in from the HAP_vtcm_mgr.h
file to allocate, free, and query the availability of VTCM.
NOTE: Starting with Lahaina, use the compute resource manager{target=_blank} API for VTCM allocations instead of this legacy VTCM manager API. The compute resource manager is expanded to provide user options to do the following:
The VTCM manager API is restricted to allocate VTCM only from the primary VTCM partition (if the partition is defined).