Skip to content

Replace FindCUDA with FindCUDAToolkit (fix #2833) #3090

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

smu-sc-gj
Copy link

Attempting to fix #2833 the FindCUDA issue (Policy CMP0146 is not set: The FindCUDA module is removed.)

Working from #3087 and with some help from Tobias. I have this working on Fedora Linux and Windows 10.

I've more recently found #3004 which suggests (referencing #2912) that this may not be possible due to findpkg issues. I've not looked at that but I have been able to update test_for_cuda and test_for_cudnn. I have compiled and run the test as suggested in #3004 and it seems to compile and run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to FindCUDAToolkit.cmake
2 participants