CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 08:02:51 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/"8cc016e32b385288922e2450183ca83f"
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=2RSUbJd7qZ6Z6BGzwCSDSSUhqNDuJ2VTpUoRHC6fFv8wd5DEaa322vHT24MATcIh3TgHvg7T2LtK6ekdVkhlIH2wPvHm%2BXlp5OHVdDJgpe0lbc5O%2FTFs9W4wL1aQBDdxjzEU1%2Fkn%2F6mC%2FDVvz%2BiJOAz5LvxJ7kmWylhXzo2LchLyl2VEcoMsMJkRM5UP%2FF%2BEiPyKt%2FnKi47wn0O3wc971p2Y9D9Ba6Mw3fZhSd8jNtYSQNuZsnJmJgOdZlAcbBbZdipZ%2B9awWhk6zy1n6Brazg%3D%3D--hetAw5%2B1cCVQgmRe--iRzkQ7fZEo5Sgn%2FAjflk0A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.867385249.1753516970; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 08:02:50 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 08:02:50 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8498:1FA760:32B4DC:446A98:68848BAA
Merge pull request #25883 from hanliutong:rvv-intrin-upgrade · opencv/opencv@b5ea321 · GitHub
Copy file name to clipboardExpand all lines: cmake/OpenCVCompilerOptimizations.cmake
Copy file name to clipboardExpand all lines: modules/core/include/opencv2/core/cv_cpu_dispatch.h
Copy file name to clipboardExpand all lines: modules/core/include/opencv2/core/hal/intrin.hpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit b5ea321
authored
Merge pull request #25883 from hanliutong:rvv-intrin-upgrade
Upgrade RISC-V Vector intrinsic and cleanup the obsolete RVV backend. #25883
This patch upgrade RISC-V Vector intrinsic from `v0.10` to `v0.12`/`v1.0`:
- Update cmake check and options;
- Upgrade RVV implement for Universal Intrinsic;
- Upgrade RVV optimized DNN kernel.
- Cleanup the obsolete RVV backend (`intrin_rvv.hpp`) and compatable header file.
With this patch, RVV backend require Clang 17+ or GCC 14+ (which means `__riscv_v_intrinsic >= 12000`, see https://godbolt.org/z/es7ncETE3)
This patch is test with Clang 17.0.6 (require extra `-DWITH_PNG=OFF` due to ICE), Clang 18.1.8 and GCC 14.1.0 on QEMU and k230 (with `--gtest_filter="*hal_*"`).
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [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
- [ ] 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 4dd54bb commit b5ea321Copy full SHA for b5ea321
File tree
Expand file treeCollapse file tree
17 files changed
+783
-29524
lines changedFilter options
- cmake
- checks
- modules
- core/include/opencv2/core
- hal
- dnn/src
- int8layers
- layers
- cpu_kernels
Expand file treeCollapse file tree
17 files changed
+783
-29524
lines changedcmake/OpenCVCompilerOptimizations.cmake
Copy file name to clipboardExpand all lines: cmake/OpenCVCompilerOptimizations.cmake-5Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
390 | 390 |
| |
391 | 391 |
| |
392 | 392 |
| |
393 |
| - | |
394 |
| - | |
395 | 393 |
| |
396 | 394 |
| |
397 | 395 |
| |
398 |
| - | |
399 |
| - | |
400 |
| - | |
401 | 396 |
| |
402 | 397 |
| |
403 | 398 |
| |
|
+16-10Lines changed: 16 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
| 3 | + | |
| 4 | + | |
6 | 5 |
| |
7 | 6 |
| |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
| 7 | + | |
| 8 | + | |
14 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
15 | 14 |
| |
16 | 15 |
| |
17 | 16 |
| |
| |||
21 | 20 |
| |
22 | 21 |
| |
23 | 22 |
| |
24 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 |
| |
26 | 32 |
| |
27 | 33 |
| |
|
modules/core/include/opencv2/core/cv_cpu_dispatch.h
Copy file name to clipboardExpand all lines: modules/core/include/opencv2/core/cv_cpu_dispatch.h+17-8Lines changed: 17 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 |
| - | |
150 |
| - | |
151 |
| - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
152 | 166 |
| |
153 | 167 |
| |
154 | 168 |
| |
| |||
183 | 197 |
| |
184 | 198 |
| |
185 | 199 |
| |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 | 200 |
| |
192 | 201 |
| |
193 | 202 |
| |
|
modules/core/include/opencv2/core/hal/intrin.hpp
Copy file name to clipboardExpand all lines: modules/core/include/opencv2/core/hal/intrin.hpp-4Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
236 | 236 |
| |
237 | 237 |
| |
238 | 238 |
| |
239 |
| - | |
240 | 239 |
| |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 | 240 |
| |
245 | 241 |
| |
246 | 242 |
| |
|
You can’t perform that action at this time.
0 commit comments