Merge pull request #27 from psteinb/fix_minus_for_an_equal
replaced - for = so that assignment takes place
This commit is contained in:
commit
e7a619c63c
@ -42,7 +42,7 @@ void KOKKOSStream<T>::init_arrays(T initA, T initB, T initC)
|
|||||||
parallel_for(array_size, KOKKOS_LAMBDA (const int index)
|
parallel_for(array_size, KOKKOS_LAMBDA (const int index)
|
||||||
{
|
{
|
||||||
a[index] = initA;
|
a[index] = initA;
|
||||||
b[index] - initB;
|
b[index] = initB;
|
||||||
c[index] = initC;
|
c[index] = initC;
|
||||||
});
|
});
|
||||||
Kokkos::fence();
|
Kokkos::fence();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user