Skip to content

Conversation

alalek
Copy link
Member

@alalek alalek commented Oct 26, 2020

moved opencv/opencv#18641 from rtimpe:fix_cuda_stubs

Main PR: opencv/opencv#18662
Previous "Merge 3.4": #2688

force_builders=Custom,Win64 OpenCL
buildworker:Custom=linux-4
build_image:Custom=ubuntu-cuda:18.04
buildworker:Win64 OpenCL=windows-2
build_image:Win64 OpenCL=msvs2019

Rob Timpe and others added 2 commits October 21, 2020 15:51
Fixes two errors when building with the options WITH_CUDA=ON and BUILD_CUDA_STUBS=ON on a machine without CUDA.

In the cudaarithm module, make sure cuda_runtime.h only gets included when CUDA is installed.

In the stitching module, don't assume that cuda is present just because cudaarithm and cudawarping are present (as is the case when building with the above options).

original commit: opencv/opencv@22ee5c0
@alalek
Copy link
Member Author

alalek commented Oct 26, 2020

👍

@alalek alalek merged commit a960877 into opencv:master Oct 26, 2020
@alalek alalek mentioned this pull request Nov 5, 2020
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.

1 participant