Hi,

How can I fill the square table with this rule: each cell in row has cell in row above value. first row is 0 to N-1. the table is one dimensional.

each row should be compute with parallelism and than synchronize thread and compute next row. for example for N=4 it should at the end looks like:

0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3

thanks