cupvaNodeParams_t#

Defined in src/host/c_api/include/detail/workloads/cupva_host_dataflow.h

struct cupvaNodeParams_t#

Parameters structure for CupvaSetNodeParams.

Deprecated:

This function is deprecated. Use GatherScatterDataFlow or SequenceDataFlow instead.

This structure is used to configure a DynamicDataFlow node with CupvaSetNodeParams

Public Members

int32_t tileWidth#

Tile width in pixels.

int32_t tileHeight#

Tile height in pixels.

int32_t bpp#

Bytes per pixels - must be 1, 2 or 4.

cupvaPadModeType_t padMode#

Padding mode, see cupvaPadModeType_t.

int32_t padVal#

Padding value to use with constant value padding.

cupvaPadDirType_t padDir#

Padding direction, see cupvaPadDirType_t.

int32_t padDim#

Padding amount.

const void *ptrSrc#

Source device pointer. Should be NULL if opSrc is specified.

cupvaOffsetPointer_t *opSrc#

Source offset pointer. Should be NULL if ptrSrc is specified.

int32_t linePitchSrc#

Source line pitch in pixels.

void *ptrDst#

Destination device pointer. Should be NULL if opDst is specified.

cupvaOffsetPointer_t *opDst#

Destination offset pointer. Should be NULL if ptrDst is specified.

int32_t linePitchDst#

Destination line pitch in pixels.