mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-14 01:35:36 +00:00
GPU math unary calls
This commit is contained in:
parent
6c31b99f1f
commit
e14a84317d
@ -93,6 +93,11 @@ accelerator_inline ComplexF pow(const ComplexF& r,RealF y){ return(std::pow(r,y)
|
|||||||
using std::abs;
|
using std::abs;
|
||||||
using std::pow;
|
using std::pow;
|
||||||
using std::sqrt;
|
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 RealF conjugate(const RealF & r){ return r; }
|
||||||
accelerator_inline RealD conjugate(const RealD & r){ return r; }
|
accelerator_inline RealD conjugate(const RealD & r){ return r; }
|
||||||
|
Loading…
Reference in New Issue
Block a user