From e570b458a604d3c44bbb9588552626a5250b5f82 Mon Sep 17 00:00:00 2001 From: Peter Steinbach Date: Tue, 28 Feb 2017 13:43:57 +0100 Subject: [PATCH] replaced - for = so that assignment takes place --- KOKKOSStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KOKKOSStream.cpp b/KOKKOSStream.cpp index 9391a13..9abcf87 100644 --- a/KOKKOSStream.cpp +++ b/KOKKOSStream.cpp @@ -42,7 +42,7 @@ void KOKKOSStream::init_arrays(T initA, T initB, T initC) parallel_for(array_size, KOKKOS_LAMBDA (const int index) { a[index] = initA; - b[index] - initB; + b[index] = initB; c[index] = initC; }); Kokkos::fence();