Gives information about the given GPU
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlus.GpuDisposableGpuObject
OpenCvSharp.CPlusPlus.GpuDeviceInfo
Namespace: OpenCvSharp.CPlusPlus.Gpu
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The DeviceInfo type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DeviceInfo |
Creates DeviceInfo object for the current GPU
| |
| DeviceInfo(Int32) |
Creates DeviceInfo object for the given GPU
|
Properties
| Name | Description | |
|---|---|---|
| CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
| DeviceId | ||
| FreeMemory | ||
| IsCompatible |
Checks whether the GPU module can be run on the given device
| |
| IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
| IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
| MajorVersion |
Return compute capability versions
| |
| MinorVersion |
Return compute capability versions
| |
| MultiProcessorCount | ||
| Name | ||
| SharedMemPerBlock | ||
| TotalMemory |
Methods
| Name | Description | |
|---|---|---|
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| Equals | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| QueryMemory | ||
| Supports |
Checks whether device supports the given feature
| |
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | (Inherited from Object.) |
See Also