EXTERN_VMEM_DMA_CONFIG#
Defined in src/device/vpu_runtime/include/cupva_device/device_core.h
-
EXTERN_VMEM_DMA_CONFIG(bank, type, name, ...)#
Declare extern table in VMEM for use with dynamic reconfiguration of DMA engine.
Variadic macro used to declare a buffer in VMEM for use with VPU config. The user can access the same table in other files.
- Parameters:
bank – Should be A, B or C (refers to VMEM bank)
type – Type of buffer (or type of elements in the case of an array)
name – Name of buffer
... – Optional arguments, specified in the following order:
h gives array dim. Defaults to scalar type if not present.
w gives array dim. Defaults to 1D array if only h is present, 2D array otherwise.