From 76a7d7e374ff193dfa73dcdc0504895f23aaada6 Mon Sep 17 00:00:00 2001 From: Deven Desai Date: Fri, 27 Apr 2018 12:59:51 +0000 Subject: [PATCH] Fixing a copy/paste error in my previous checkin --- tests/src/deviceLib/hipMathFunctions.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/src/deviceLib/hipMathFunctions.cpp b/tests/src/deviceLib/hipMathFunctions.cpp index ff69087f82..7fe0003672 100644 --- a/tests/src/deviceLib/hipMathFunctions.cpp +++ b/tests/src/deviceLib/hipMathFunctions.cpp @@ -71,14 +71,9 @@ void check_lgamma_double() { datatype_t *outputGPU = nullptr; hipMalloc((void**)&outputGPU, memsize); // populate input - inputCPU[0] = -3.5; - inputCPU[0] = -2.5; - inputCPU[0] = -1.5; - inputCPU[0] = -0.5; - inputCPU[0] = 0.5; - inputCPU[0] = 1.5; - inputCPU[0] = 2.5; - inputCPU[0] = 3.5; + for (int i=0; i