Skip to content

HTGSource: support distribution of trees in string descriptor

Louis Gombert requested to merge louis.gombert/vtk:htg-source-parallel into master

Prefix root-level trees in HTG Source string descriptor with a process number, making them appear only on a given parallel piece.

For that, prefix tree letters "." or "R" with a digit to assign it to a distributed piece. The digit prefix acts as a switch, active until another digit is specified. For example, the string descriptor

0R.R 1R 0RR 2..R | [...]

will assign the first 3 trees to piece 0, the next one to piece 1, the 2 next to piece 0 and thelast 3 to piece 2. This logic supports up to 10 different pieces in the descriptor. The digits in the descriptor must match the number of pieces requested from the source.

Merge request reports

Loading