replaced - for = so that assignment takes place

This commit is contained in:
Peter Steinbach 2017-02-28 13:43:57 +01:00
parent 8a47b72764
commit e570b458a6

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