Table of Contents

Class CudaDeviceInfo

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

The Cuda device information

public class CudaDeviceInfo : UnmanagedObject, IDisposable
Inheritance
CudaDeviceInfo
Implements
Inherited Members

Constructors

CudaDeviceInfo()

Query the information of the gpu device that is currently in use.

public CudaDeviceInfo()

CudaDeviceInfo(int)

Query the information of the cuda device with the specific id.

public CudaDeviceInfo(int deviceId)

Parameters

deviceId int

The device id

Properties

CudaComputeCapability

The compute capability

public Version CudaComputeCapability { get; }

Property Value

Version

FreeMemory

Get the amount of free memory at the moment

public ulong FreeMemory { get; }

Property Value

ulong

ID

The id of the device

public int ID { get; }

Property Value

int

IsCompatible

Checks whether the Cuda module can be run on the given device

public bool IsCompatible { get; }

Property Value

bool

MultiProcessorCount

The number of single multi processors

public int MultiProcessorCount { get; }

Property Value

int

Name

The name of the device

public string Name { get; }

Property Value

string

TotalMemory

Get the amount of total memory

public ulong TotalMemory { get; }

Property Value

ulong

Methods

DisposeObject()

Release the unmanaged resource related to the GpuDevice

protected override void DisposeObject()

Supports(GpuFeature)

Indicates if the device has the specific feature

public bool Supports(CudaDeviceInfo.GpuFeature feature)

Parameters

feature CudaDeviceInfo.GpuFeature

The device feature

Returns

bool

True if the feature is supported