marcpaterno / gpuintegration

Code for Fermilab LDRD 2020-050 "Numerical Integration on GPUs", implementing the CUHRE routine for GPUs.
Other
11 stars 2 forks source link

How to use cuda fast math functions in integrands of pagani? #9

Open f1974939505 opened 3 weeks ago

f1974939505 commented 3 weeks ago

My integrands may contain many basic functions, such as exp and sin. I want to replace them with Cuda fast math functions to speed up the integration. If I define the integrand on host device, Cuda fast math functions will not be available for them. However, if I define the integrand only on device, the integrand may not be available for Pagani.