DeviceInfo Class OpenCvSharp Class Library
Gives information about the given GPU
Inheritance Hierarchy

SystemObject
  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

public sealed class DeviceInfo : DisposableGpuObject

The DeviceInfo type exposes the following members.

Constructors

  NameDescription
Public methodDeviceInfo
Creates DeviceInfo object for the current GPU
Public methodDeviceInfo(Int32)
Creates DeviceInfo object for the given GPU
Top
Properties

  NameDescription
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyDeviceId
Public propertyFreeMemory
Public propertyIsCompatible
Checks whether the GPU module can be run on the given device
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyMajorVersion
Return compute capability versions
Public propertyMinorVersion
Return compute capability versions
Public propertyMultiProcessorCount
Public propertyName
Public propertySharedMemPerBlock
Public propertyTotalMemory
Top
Methods

  NameDescription
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodQueryMemory
Public methodSupports
Checks whether device supports the given feature
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference