Skip to content

Remove build warning msg with CUDA 10.0 - #13596

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
nglee:dev_RemoveCudaIncludeWarningMsg
Jan 9, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
nglee:dev_RemoveCudaIncludeWarningMsg

Conversation

@nglee

@nglee nglee commented Jan 8, 2019 •

Copy link
Copy Markdown
Contributor

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

@alalek alalek left a comment

Copy link
Copy Markdown
Member

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
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
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