Skip to content
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

Merged
merged 6 commits into from Jan 3, 2017
Merged

Remove CUDA 6.5 Support #1687

merged 6 commits into from Jan 3, 2017

Conversation

shehzan10
Copy link
Member

@shehzan10 shehzan10 commented Dec 21, 2016

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.

@shehzan10 shehzan10 added this to the v3.5.0 milestone Dec 21, 2016
@9prady9
Copy link
Member

9prady9 commented Dec 22, 2016

@shehzan10 Is there any reason you refrained from enabling C++11 support ?

@shehzan10
Copy link
Member Author

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

Copy link
Member

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.

Copy link
Member Author

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.

@pavanky
Copy link
Member

pavanky commented Dec 27, 2016

@shehzan10 merge ?

@shehzan10
Copy link
Member Author

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
build arrayfire osx cuda ci
build arrayfire windows ci

@shehzan10
Copy link
Member Author

I think it can be merged now

@umar456 umar456 merged commit 787b844 into arrayfire:devel Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants