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
Remove CUDA 6.5 Support #1687
Remove CUDA 6.5 Support #1687
Conversation
Also remove boost inline for older CUDA versions
@shehzan10 Is there any reason you refrained from enabling C++11 support ? |
I wanted that to be done when C++11 features start getting used. That is, the boost stuff is replaced by STL. |
#if CUDA_VERSION < 7000 | ||
#error "ArrayFire CUDA requires CUDA Toolkit Version 7.0 or newer." | ||
#endif | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason you want to have this here instead of cmake?
In CMake it is as simple as requesting a minimum version in FIND_PACKAGE(CUDA, 7.0)
or something similar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we could do that.
@shehzan10 merge ? |
Let me run the PR builds. Somehow forgot about it. PS. OSX CUDA Might fail on tests - But thats a system issue. build arrayfire linux ci |
I think it can be merged now |
This PR deals with removing CUDA 6.5 support and asserting a minimum CUDA version of 7.0.
It does NOT enable features such as C++11 etc that are associated with using CUDA 7 as minimum version.