Comments (5)
Currently OpenCV does not use CUDA_ARCHITECTURES
(I am almost 100% sure this requires CUDA to be a first class language). Instead it can do one of four things, build for
- all architechtures supported by the installed version of CUDA toolkit (almost equivelent to all) if
CUDA_ARCH_BIN
andCUDA_ARCH_PTX
are not specified, or - architectures specified by combinations of
CUDA_ARCH_BIN
andCUDA_ARCH_PTX
, or - a specific generation, e.g.
CUDA_GENERATION=Lovelace
, or - the architechtures of the hosts GPUs if
CUDA_GENERATION=Auto
(equivelent to native).
If CUDA is a added as a first class language (#23021) these options could be supported however they would not enable OpenCV to determine which real and virtual architechtures it was being built for which is required for both cuda::TargetArchs at runtime and the information shown by CMake at configuration time e.g.
-- NVIDIA GPU arch: 50 52 60 61 70 75 80 86 89 90
-- NVIDIA PTX archs: 90
from opencv.
Ok, it's more clear.
But is it documented somewhere ? The tooltips in CMakeGUI above CUDA_GENERATION are not very informative.
from opencv.
But is it documented somewhere ?
I don't think so apart from a mention here.
from opencv.
Should I suggest a doc improvement (for instance a URL in the CMake tooltip pointing to an explanation in a dedicated page), leaving this thread open as a reminder, or do I close it ?
from opencv.
Should I suggest a doc improvement (for instance a URL in the CMake tooltip pointing to an explanation in a dedicated page),
You could add the information to the CUDA Module Introduction page however that page is really out of date and all the information could do with an update.
from opencv.
Related Issues (20)
- cv::cartToPolar does not support inplace processing HOT 2
- core: Failed Core_Xor/ElemWiseTest.accuracy in debug build (5.x) HOT 2
- Document cv::Mat::type bits layout
- Make BarcodeDetector resolution invariant
- Basic core operations do not support new types in 5.x
- Incorrect convex hull for contour. HOT 6
- Drop matrix expressions support in 5.x branch HOT 4
- Deprecate convertFp16() in favor of convertTo() with CV_16F
- Error in cv2.dnn.readNetFromTensorflow HOT 4
- DNN: Overflow Errors with large image sizes HOT 4
- floodFill with error Uncaught 6620760 in opencv.js HOT 4
- OpenCL: Device::halfFPConfig() > 0 check is not reliable
- getOptimalNewCameraMatrix returns unstable results in opencv versions after 4.7.0 HOT 3
- [ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:159 cv::obsensor::getStreamChannelGroup Camera index out of range.... THIS IS THE ERROR IM FACING WHAT SHOULD I DO TO SOLVE IT HOT 1
- A opencv.js bug in function floodFill HOT 12
- How to create a Net object without using readNet? HOT 3
- eigen2cv not working HOT 5
- OpenCV 4.9.0 Huawei CANN support error: CANN graph check failed in function 'compileCannGraph' HOT 4
- GpuMat::convertTo( cv::cuda::GpuMat, CV_16FC3); HOT 4
- Issue in opencv 4.8.1 in combination with gocv (0.35.0) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv.