GranType#

Fully qualified name: cupva::GranType

Defined in src/host/shared/include/install/cupva_host_common.hpp

enum class cupva::GranType : uint32_t#

Enumeration of dataflow trigger granularity.

This controls the boundary where the VPU-DMA handshake occurs during execution of a StaticDataFlow. At each handshake boundary, the VPU engine must synchronize the DataFlow and re-trigger before the dataflow will continue.

  1. TILE: handshake occurs after transferring each tile.

  2. DIM1: handshake occurs after transferring niter1 tiles, where niter1 is the first dimension of the transfer in VMEM (see srcDim1/dstDim1)

  3. DIM2: handshake occurs after transferring niter2 iterations of dim2, where niter2 is the second dimension of the transfer in VMEM (see srcDim2/dstDim2)

  4. ALL: handshake occurs after transferring all tiles in the DataFlow. This handshake can be omitted by using append() instead of link().

  • Maturity: GA

Values:

enumerator TILE#
enumerator DIM1#
enumerator DIM2#
enumerator ALL#