GSDF_SURFACE_MIN_TILE_HEIGHT#

Defined in src/device/vpu_runtime/include/cupva_device/gatherscatter_dataflow.h

GSDF_SURFACE_MIN_TILE_HEIGHT(_th)#

Minimum height per tile (in pixels) required to support reads from surfaces.

When reading from surfaces, additional space is required in VMEM for alignment purposes. This macro may be used to calculate the minimum tile height to ensure proper alignment. See cupvaGSDFUpdateVmemAddr() for more details.

Parameters:
  • _th – Tile height in pixel