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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -