Skip to content

Replace all instances of CUDA texture references with texture objects#22963

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
cudawarped:replace_texture_ref_with_texture_obj
Dec 20, 2022
Merged

Replace all instances of CUDA texture references with texture objects#22963
asmorkalov merged 1 commit intoopencv:4.xfrom
cudawarped:replace_texture_ref_with_texture_obj

Conversation

@cudawarped
Copy link
Copy Markdown
Contributor

@cudawarped cudawarped commented Dec 15, 2022

See opencv/opencv_contrib#3378 and opencv/opencv_contrib#3390.

CUDA texture references have now been completley removed in the latest SDK (CUDA 12.0).

If opencv/opencv_contrib#3378 is merged this code block which is causing builds to fail against CUDA 12.0 (opencv/opencv_contrib#3390) will become redundant.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

…xture objects using the existing updated cv::cudev::Texture class.

Fixes bugs in cv::cuda::demosaicing, cv::cuda::resize and cv::cuda::HoughSegmentDetector.
@cudawarped cudawarped force-pushed the replace_texture_ref_with_texture_obj branch from c3644c4 to 9aa5ab7 Compare December 19, 2022 17:29
Copy link
Copy Markdown
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

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

👍 Thanks a lot for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: gpu/cuda (contrib) OpenCV 4.0+: moved to opencv_contrib feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants