Operator SplitParallel

Operator Library: Base

The operator splits the input link of parallelism degree N into M output links of parallelism degree N/M. The input parallelism (N) has to be divisible by the number of output links (M). The opposite of this operator is 'MergeParallel'.

The following figure illustrates an example for input parallelism four and four output links.

This example shows an input parallelism of four and two output links.

I/O Properties

Property Value
Operator Type O
Input Link I, data input
Output Link O[0, M-1], data output

Supported Link Format

Link Parameter Input Link I Output Link O[0, M-1]
Bit Width [1, 64]1 as I
Arithmetic {unsigned, signed} as I
Parallelism any I.Parallelism / M
Kernel Columns any as I
Kernel Rows any as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format any as I
Color Flavor any as I
Max. Img Width any as I
Max. Img Height any as I

1

The range of the input bit width is [1, 64]. For signed inputs, the range is [2, 64]. For unsigned color inputs, the range is [3, 63] and for signed color, the range is [6, 63].

Parameters

None

Examples of Use

The use of operator SplitParallel is shown in the following examples:

  • 'Hardware Test'

    An example for hardware self test of DMA, RAM, GPIOs, Trigger and LEDs.

  • 'Downsampling 3x3'

    Examples - Downsampling by factor 3x3 without the use of operator SampleDn.

  • 'Line Mirror'

    Examples - Shows how to vertically mirror an image. Note the mirroring of the parallel words and the pixel.

  • 'Tap Geometry Sorting'

    Examples - Scaling A Line Scan Image