mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2025-02-16 17:13:57 +00:00
Use +=
, since it exists
This commit is contained in:
parent
1568ab6525
commit
c44241a15d
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ __host__ static void kernel_atax(DATA_TYPE** A, DATA_TYPE* X, DATA_TYPE* Y)
|
|||
|
||||
for (unsigned int y = 0; y < NY; y++)
|
||||
{
|
||||
Y[y] = Y[y] + A[x][y] * tmp;
|
||||
Y[y] += A[x][y] * tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue