From e14a84317d722808ef738b1789200a9b00a4f364 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 31 Aug 2020 23:50:49 -0400 Subject: [PATCH] GPU math unary calls --- Grid/simd/Simd.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Grid/simd/Simd.h b/Grid/simd/Simd.h index 37aee2ed..1dc86c1b 100644 --- a/Grid/simd/Simd.h +++ b/Grid/simd/Simd.h @@ -93,6 +93,11 @@ accelerator_inline ComplexF pow(const ComplexF& r,RealF y){ return(std::pow(r,y) using std::abs; using std::pow; using std::sqrt; +using std::log; +using std::exp; +using std::sin; +using std::cos; + accelerator_inline RealF conjugate(const RealF & r){ return r; } accelerator_inline RealD conjugate(const RealD & r){ return r; }