- marked as enhancement
How to run submatrix function in serial?
Issue #390
resolved
submatrix(output, 0,0, ind_x, ind_x) = serial(submatrix(input, 0,0, ind_x, ind_x));
BLAZE_SERIAL_SECTION
{
submatrix(output, 0,0, ind_x, ind_x) = submatrix(input, 0,0, ind_x, ind_x);
}
Both of the above codes didn’t work. Thank you!
Comments (3)
-
reporter -
Hi Esmail!
We checked both code snippet in an OpenMP setting with 4 threads. In both cases the assignment was executed by exactly one thread. Therefore both examples work as expected.
Could you please be more specific about what doesn’t work? A minimum example with compilation flags and environment settings would help to analyse whether there is a problem. Thanks,
Best regards,
Klaus!
-
- changed status to resolved
- Log in to comment