OpenCV 5.0.0-pre
Open Source Computer Vision
|
#include "opencv2/core.hpp"
#include "opencv2/core/cuda_types.hpp"
#include "opencv2/core/cuda.inl.hpp"
Classes | |
class | cv::cuda::GpuMat::Allocator |
class | cv::cuda::BufferPool |
BufferPool for use with CUDA streams. More... | |
class | cv::cuda::DeviceInfo |
Class providing functionality for querying the specified GPU properties. More... | |
class | cv::cuda::Event |
struct | cv::cuda::GpuData |
class | cv::cuda::GpuMat |
Base storage class for GPU memory with reference counting. More... | |
class | cv::cuda::GpuMatND |
class | cv::cuda::HostMem |
Class with reference counting wrapping special memory type allocation functions from CUDA. More... | |
class | cv::cuda::Stream |
This class encapsulates a queue of asynchronous calls. More... | |
class | cv::cuda::TargetArchs |
Class providing a set of static methods to check what NVIDIA* card architecture the CUDA module was built for. More... | |
Namespaces | |
namespace | cv |
namespace | cv::cuda |
Enumerations | |
enum | cv::cuda::FeatureSet { cv::cuda::FEATURE_SET_COMPUTE_10 = 10 , cv::cuda::FEATURE_SET_COMPUTE_11 = 11 , cv::cuda::FEATURE_SET_COMPUTE_12 = 12 , cv::cuda::FEATURE_SET_COMPUTE_13 = 13 , cv::cuda::FEATURE_SET_COMPUTE_20 = 20 , cv::cuda::FEATURE_SET_COMPUTE_21 = 21 , cv::cuda::FEATURE_SET_COMPUTE_30 = 30 , cv::cuda::FEATURE_SET_COMPUTE_32 = 32 , cv::cuda::FEATURE_SET_COMPUTE_35 = 35 , cv::cuda::FEATURE_SET_COMPUTE_50 = 50 , cv::cuda::GLOBAL_ATOMICS = FEATURE_SET_COMPUTE_11 , cv::cuda::SHARED_ATOMICS = FEATURE_SET_COMPUTE_12 , cv::cuda::NATIVE_DOUBLE = FEATURE_SET_COMPUTE_13 , cv::cuda::WARP_SHUFFLE_FUNCTIONS = FEATURE_SET_COMPUTE_30 , cv::cuda::DYNAMIC_PARALLELISM = FEATURE_SET_COMPUTE_35 } |
Enumeration providing CUDA computing features. More... | |
Functions | |
void | cv::cuda::convertFp16 (InputArray _src, OutputArray _dst, Stream &stream=Stream::Null()) |
Converts an array to half precision floating number. | |
void | cv::cuda::createContinuous (int rows, int cols, int type, OutputArray arr) |
Creates a continuous matrix. | |
GpuMat | cv::cuda::createGpuMatFromCudaMemory (int rows, int cols, int type, size_t cudaMemoryAddress, size_t step=Mat::AUTO_STEP) |
Bindings overload to create a GpuMat from existing GPU memory. | |
GpuMat | cv::cuda::createGpuMatFromCudaMemory (Size size, int type, size_t cudaMemoryAddress, size_t step=Mat::AUTO_STEP) |
bool | cv::cuda::deviceSupports (FeatureSet feature_set) |
checks whether current device supports the given feature | |
void | cv::cuda::ensureSizeIsEnough (int rows, int cols, int type, OutputArray arr) |
Ensures that the size of a matrix is big enough and the matrix has a proper type. | |
int | cv::cuda::getCudaEnabledDeviceCount () |
Returns the number of installed CUDA-enabled devices. | |
int | cv::cuda::getDevice () |
Returns the current device index set by cuda::setDevice or initialized by default. | |
void | cv::cuda::printCudaDeviceInfo (int device) |
void | cv::cuda::printShortCudaDeviceInfo (int device) |
void | cv::cuda::registerPageLocked (Mat &m) |
Page-locks the memory of matrix and maps it for the device(s). | |
void | cv::cuda::resetDevice () |
Explicitly destroys and cleans up all resources associated with the current device in the current process. | |
void | cv::cuda::setBufferPoolConfig (int deviceId, size_t stackSize, int stackCount) |
void | cv::cuda::setBufferPoolUsage (bool on) |
BufferPool management (must be called before Stream creation) | |
void | cv::cuda::setDevice (int device) |
Sets a device and initializes it for the current thread. | |
void | cv::cuda::unregisterPageLocked (Mat &m) |
Unmaps the memory of matrix and makes it pageable again. | |
Stream | cv::cuda::wrapStream (size_t cudaStreamMemoryAddress) |
Bindings overload to create a Stream object from the address stored in an existing CUDA Runtime API stream pointer (cudaStream_t). | |