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
no, it was an example. in the cell could be other value, for example a,b,c,d. and i can’t compute each cell i must copy from cell above
if W is width than tab[i]=tab[i-W] (for i>=W).