OpenMP Array Conversion -
i need perform array operation within nested loop. function dosomething() requires in fashion. how can correctly?
#pragma omp parallel { #pragma omp ordered (int = 1; < iter; i++) { #pragma omp ordered (int j = 0; j < rows; j++) { info2[j][0] = info[j]; } dosomething(info2); } } this problem: without ordered directives, array info2 incorrect every time. however, using ordered directives takes fair amount more time in serial. better way of doing this?
Comments
Post a Comment