CUPVA_CIRCULAR_BUFFER_LENGTH#
Defined in src/device/vpu_runtime/include/cupva_device/device_core.h
-
CUPVA_CIRCULAR_BUFFER_LENGTH(type, tw, th, haloX, haloY, ...)#
Calculate the VMEM buffer length (in pixel) of circular layout according to different configurations.
- Deprecated:
This macro is deprecated, and should be replaced with RDF_CIRCULAR, RDF_CIRCULAR_ROWMAJOR or RDF_CIRCULAR_COLUMNMAJOR
- Parameters:
type – The pixel data type
tw – Tile width in pixel
th – Tile height in pixel
... – Optional arguments, specified in the following order:
haloX gives horizontal halo in pixel, defaults to 0
haloY gives vertical halo in pixel, defaults to 0
mode gives the transposition mode, defaults to TRANS_MODE_NONE