lawmurray / LibBi

Bayesian state-space modelling on high-performance hardware, including multicore, GPUs and distributed clusters.
http://www.libbi.org
Other
96 stars 22 forks source link

compile fix for CUDA 8.0 #19

Closed sbfnk closed 7 years ago

sbfnk commented 7 years ago

It appears that CUDA 8.0 needs CUDA_FAST_MATH declared. This commit adds an option for enabling/disabling it (default off).

lawmurray commented 7 years ago

Slight modification, I presume:

AC_ARG_ENABLE([cuda]...

should be:

AC_ARG_ENABLE([cudafastmath]...

Have updated.