mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-29 11:34:21 +00:00
kernel_atax
: Try parallelizing the first cycle
Doesn't seem to create a big difference
This commit is contained in:
parent
d5664a9393
commit
57fe10ad6a
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ static void kernel_atax(int nx, int ny,
|
|||
{
|
||||
int i, j;
|
||||
|
||||
// TODO: Optimizable loop, no dependencies
|
||||
#pragma omp parallel for num_threads(4) schedule(static)
|
||||
for (i = 0; i < _PB_NY; i++)
|
||||
y[i] = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue