Merge pull request #27 from psteinb/fix_minus_for_an_equal

replaced - for = so that assignment takes place
This commit is contained in:
Tom Deakin 2017-02-28 12:46:43 +00:00 committed by GitHub
commit e7a619c63c

View File

@ -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();