New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix C++11 CUDA 8 nvcc compile time odeint error #152
fix C++11 CUDA 8 nvcc compile time odeint error #152
Conversation
fix https://svn.boost.org/trac/boost/ticket/13049 disable usage of noexcept with `BOOST_NO_CXX11_NOEXCEPT` for nvcc from CUDA 8
Is this only device code that is effected, or does it hit the host meta-compiler as well? |
This bug effects host code (see example) which is compiled with nvcc out of a |
Reproduced and fixed in 9b8de65 |
Hi! Unfortunately, your fix broke compilation with CUDA 9. The reason for that is that you use the symbol Line 64 in
The fix seems simple enough, instead of checking for the whole version, you could check separately for |
@akors You are right, but the deprecation breaks all checks in |
Ok, that's a shame. Here's the Trac ticket URL: https://svn.boost.org/trac10/ticket/13152 |
thx for opening the ticket: btw NVIDIA breaks all old boost versions with this change. |
Good idea! I just did that too, the internal link is https://developer.nvidia.com/nvidia_bug/1971621 , in case anyone has access to that. |
I tested the beta version of CUDA 9.0067 with a little program: #include <iostream>
#include <cuda_runtime.h>
int main()
{
std::cout<<__CUDACC_VER__<<std::endl;
} compiel and run
This means that the define is available in the beta, we need to check the latest rc. |
The problem appears first with the second CUDA 9 release candidate, CUDA 9.0.103. |
Can you guys please verify that #175 fixes this? Many thanks, John Maddock. |
fix https://svn.boost.org/trac/boost/ticket/13049
disable usage of noexcept with
BOOST_NO_CXX11_NOEXCEPT
for nvcc from CUDA 8