Skip to content

Remove build warning msg with CUDA 10.0 #13596

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

Merged
merged 1 commit into from
Jan 9, 2019

Conversation

nglee
Copy link
Contributor

@nglee nglee commented Jan 8, 2019

This PR is intended to resolve #13262.

The warning message that says "device_functions.h should not be included directly" seems to be added in CUDA 10.0. It turns out that OpenCV compiles fine without including the header, when tested with CUDA 8.0, 9.0, 9.1, 9.2, 10.0.

buildworker:Custom=linux-1,linux-2,linux-4
force_builders=Custom
docker_image:Custom=ubuntu-cuda:16.04

Copy link
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@opencv-pushbot opencv-pushbot merged commit 4b4874e into opencv:3.4 Jan 9, 2019
@nglee nglee deleted the dev_RemoveCudaIncludeWarningMsg branch January 10, 2019 00:49
@alalek alalek mentioned this pull request Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants