CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 22:56:16 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/opencv/opencv.git
etag: W/"ca7da99c4fd92c14dbb52931c33628de"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=o4c3EsroXG2PiMK36QHBVRTc%2F%2Bd6SanA3sovQWVI8Pzhekgn%2FRVqGGGU3Kmk9MgNaQuJA3ij7qD2vsiarDdliZEehZUQuCLJa9B7UUUFsahqD8tyPCrCir%2B6DieOnAC8cKau4yhs1Z7v8rAHaLmvqqm0CnTWmBXB%2Bn9EgIa2GJ7rK%2FyOtvpOPiOSM46XR5D0mcAO5h9uAmldA%2BqZrY1aEY5yRGe%2BthNIo%2FZCbd%2B7WZ133li0bJTk4f%2FudhgXxZoAs0zQldBKqsbj5l94Ldv8Lg%3D%3D--C3ycR1PoYMObN30C--ukAbEYB%2B8DSRa4amtr%2B3Zg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1371430008.1753224975; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:56:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:56:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EE12:167F3A:1A1E1A:2392CF:6880170F
Merge pull request #25412 from ZelboK:update-cudnn-to-9 · opencv/opencv@05e4860 · GitHub
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/csl/cudnn/recurrent.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/csl/tensor_ops.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/primitives/recurrent_cells.hpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit 05e4860
authored
Merge pull request #25412 from ZelboK:update-cudnn-to-9
Refactor DNN module to build with cudnn 9 #25412
A lot of APIs that are currently being used in the dnn module have been removed in cudnn 9. They were deprecated in 8.
This PR updates said code accordingly to the newer API.
Some key notes:
1) This is my first PR. I am new to openCV.
2) `opencv_test_core` tests pass
3) On a 3080, cuda 12.4(should be irrelevant since I didn't build the `opencv_modules`, gcc 11.4, WSL 2.
4) For brevity I will avoid including macro code that will allow for older versions of cudnn to build.
I was unable to get the tests working for `opencv_test_dnn` and `opencv_perf_dnn`. The errors I get are of the following:
```
OpenCV tests: Can't find required data file: dnn/onnx/conformance/node/test_reduce_prod_default_axes_keepdims_example/model.onnx in function 'findData'
" thrown in the test body.
```
So before I spend more time investigating I was hoping to get a maintainer to point me in the right direction here. I would like to run these tests and confirm things are working as intended. I may have missed some details.
### Pull Request Readiness Checklist
relevant issue
(#24983
- [x] I agree to contribute to the project under Apache 2 License.
- [x] 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
- [x] 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 CMake1 parent b659351 commit 05e4860Copy full SHA for 05e4860
File tree
Expand file treeCollapse file tree
3 files changed
+134
-25
lines changedFilter options
- modules/dnn/src/cuda4dnn
- csl
- cudnn
- primitives
Expand file treeCollapse file tree
3 files changed
+134
-25
lines changedmodules/dnn/src/cuda4dnn/csl/cudnn/recurrent.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/csl/cudnn/recurrent.hpp+56-14Lines changed: 56 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
| 100 | + | |
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
| |||
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
122 | 139 |
| |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
128 | 151 |
| |
129 | 152 |
| |
130 | 153 |
| |
| |||
158 | 181 |
| |
159 | 182 |
| |
160 | 183 |
| |
161 |
| - | |
162 |
| - | |
163 |
| - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
164 | 194 |
| |
165 |
| - | |
166 |
| - | |
167 |
| - | |
168 |
| - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
169 | 209 |
| |
170 | 210 |
| |
| 211 | + | |
171 | 212 |
| |
172 | 213 |
| |
173 | 214 |
| |
| |||
189 | 230 |
| |
190 | 231 |
| |
191 | 232 |
| |
| 233 | + | |
192 | 234 |
| |
193 | 235 |
| |
194 | 236 |
| |
195 |
| - | |
| 237 | + |
modules/dnn/src/cuda4dnn/csl/tensor_ops.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/csl/tensor_ops.hpp+76-5Lines changed: 76 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
528 | 528 |
| |
529 | 529 |
| |
530 | 530 |
| |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
531 | 571 |
| |
532 | 572 |
| |
533 | 573 |
| |
| |||
538 | 578 |
| |
539 | 579 |
| |
540 | 580 |
| |
541 |
| - | |
| 581 | + | |
542 | 582 |
| |
543 | 583 |
| |
544 | 584 |
| |
| |||
550 | 590 |
| |
551 | 591 |
| |
552 | 592 |
| |
553 |
| - | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
554 | 597 |
| |
555 | 598 |
| |
| 599 | + | |
556 | 600 |
| |
557 | 601 |
| |
558 | 602 |
| |
559 | 603 |
| |
560 | 604 |
| |
561 |
| - | |
| 605 | + | |
562 | 606 |
| |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
563 | 627 |
| |
564 | 628 |
| |
565 |
| - | |
| 629 | + | |
| 630 | + | |
566 | 631 |
| |
567 | 632 |
| |
568 | 633 |
| |
| |||
575 | 640 |
| |
576 | 641 |
| |
577 | 642 |
| |
578 |
| - | |
579 | 643 |
| |
580 | 644 |
| |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
581 | 651 |
| |
582 | 652 |
| |
| 653 | + | |
583 | 654 |
| |
584 | 655 |
| |
585 | 656 |
| |
|
modules/dnn/src/cuda4dnn/primitives/recurrent_cells.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/primitives/recurrent_cells.hpp+2-6Lines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 | 58 |
| |
62 | 59 |
| |
63 | 60 |
| |
| |||
75 | 72 |
| |
76 | 73 |
| |
77 | 74 |
| |
78 |
| - | |
79 |
| - | |
| 75 | + | |
80 | 76 |
| |
81 | 77 |
| |
82 | 78 |
| |
| |||
94 | 90 |
| |
95 | 91 |
| |
96 | 92 |
| |
97 |
| - | |
| 93 | + |
You can’t perform that action at this time.
0 commit comments