From 4ff01c971f695568ae9b71aa23f53a13e8d8e502 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Tue, 30 May 2017 15:45:22 +0530 Subject: [PATCH] Disable normcdfinvf on __host__ Change-Id: If7bfc9826a09eb9b7675ea2a417b9418759b7912 --- src/math_functions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/math_functions.cpp b/src/math_functions.cpp index 151627fc73..f66f0a4312 100644 --- a/src/math_functions.cpp +++ b/src/math_functions.cpp @@ -937,10 +937,10 @@ __host__ void sincospi(double x, double *sptr, double *cptr) *cptr = std::cos(HIP_PI*x); } -__host__ float normcdfinvf(float x) -{ - return std::sqrt(2) * erfinvf(2*x-1); -} +//__host__ float normcdfinvf(float x) +//{ +// return std::sqrt(2) * erfinvf(2*x-1); +//} //__host__ double normcdfinv(double x) //{