Operator ExpandToParallel

Operator Library: Base

The operator expands the input link I with parallelism 1 to an arbitrary parallelism at output link O. The input value is replicated/copied to each parallel stream. Set the new parallelism at the output link.

The performed operation can be described as combination of the existing operators BRANCH and MergeParallel:

In this example, an input link with parallism 1 is cloned to parallelism 4.

I/O Properties

Property Value
Operator Type O
Input Link I, data input
Output Link O, data output

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [1, 64]1 As I
Arithmetic {Unsigned, signed} As I
Parallelism 1 Any
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 Auto2
Max. Img Height Any As I

1

The range of the input bit width is:

  • For unsigned values: [1, 64]
  • For signed inputs: [2, 64]
  • For unsigned color inputs: [3, 63]
  • For signed color inputs: [6, 63]

2

The output maximum image width is determined by the input maximum image width and the output parallelism :

Parameters

None

Examples of Use

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