From b120acaf87eb59d014f8975cd6b6ee1ab7f912e3 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Mon, 24 Oct 2016 13:23:20 +0100 Subject: [PATCH] [OMP45] Use global defined scalar value --- OMP45Stream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OMP45Stream.cpp b/OMP45Stream.cpp index f849c39..8f684e2 100644 --- a/OMP45Stream.cpp +++ b/OMP45Stream.cpp @@ -70,7 +70,7 @@ void OMP45Stream::copy() template void OMP45Stream::mul() { - const T scalar = 0.3; + const T scalar = startScalar; unsigned int array_size = this->array_size; T *b = this->b; @@ -99,7 +99,7 @@ void OMP45Stream::add() template void OMP45Stream::triad() { - const T scalar = 0.3; + const T scalar = startScalar; unsigned int array_size = this->array_size; T *a = this->a;