diff --git a/include/boost/math/special_functions/logistic_sigmoid.hpp b/include/boost/math/special_functions/logistic_sigmoid.hpp index 925b576ca3..7279b17e6c 100644 --- a/include/boost/math/special_functions/logistic_sigmoid.hpp +++ b/include/boost/math/special_functions/logistic_sigmoid.hpp @@ -15,7 +15,7 @@ namespace boost { namespace math { template -RealType logistic_sigmoid(RealType x, const Policy&) +BOOST_MATH_GPU_ENABLED RealType logistic_sigmoid(RealType x, const Policy&) { BOOST_MATH_STD_USING @@ -35,7 +35,7 @@ RealType logistic_sigmoid(RealType x, const Policy&) } template -RealType logistic_sigmoid(RealType x) +BOOST_MATH_GPU_ENABLED RealType logistic_sigmoid(RealType x) { return logistic_sigmoid(x, policies::policy<>()); } diff --git a/include/boost/math/special_functions/logit.hpp b/include/boost/math/special_functions/logit.hpp index 8a2ddf68dd..e9da275e70 100644 --- a/include/boost/math/special_functions/logit.hpp +++ b/include/boost/math/special_functions/logit.hpp @@ -17,7 +17,7 @@ namespace boost { namespace math { template -RealType logit(RealType p, const Policy&) +BOOST_MATH_GPU_ENABLED RealType logit(RealType p, const Policy&) { BOOST_MATH_STD_USING using std::atanh; @@ -45,7 +45,7 @@ RealType logit(RealType p, const Policy&) } template -RealType logit(RealType p) +BOOST_MATH_GPU_ENABLED RealType logit(RealType p) { return logit(p, policies::policy<>()); }