Copy link
@psychocoderHPC

psychocoderHPC Jun 15, 2017

@jzmaddock Thank you for adding the fix from #152. This fix is disabling the feature of CXX11 noexcept for all CUDA versions. This is IMO a to general change because CUDA <=7.5 and as NVidia said to me CUDA9 are not effected by the bug but limited by this fix.
Could you please add the version guards to allow noexcept for all CUDA version except CUDA 8.
Should I open a new pull request?

// A bug in nvcc (cudafe) of CUDA 8.0 prevents use of noexcept
// https://svn.boost.org/trac/boost/ticket/13049
// The issue will be fixed with CUDA 9.
#if (__CUDACC_VER__ >= 80000) && (__CUDACC_VER__ < 80100)
#   define BOOST_NO_CXX11_NOEXCEPT
#endif