Table of Contents

Class Device

Namespace
Emgu.CV.Ocl
Assembly
Emgu.CV.dll

This class contains ocl device information

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

Constructors

Device()

Create a empty OclDevice object

public Device()

Properties

AddressBits

The AddressBits

public int AddressBits { get; }

Property Value

int

Available

Indicates if the device is available

public bool Available { get; }

Property Value

bool

CompilerAvailable

Indicates if the compiler is available

public bool CompilerAvailable { get; }

Property Value

bool

Default

Get the default OclDevice. Do not dispose this device.

public static Device Default { get; }

Property Value

Device

DeviceVersionMajor

The device major version number

public int DeviceVersionMajor { get; }

Property Value

int

DeviceVersionMinor

The device minor version number

public int DeviceVersionMinor { get; }

Property Value

int

DoubleFPConfig

The device double floating point configuration

public FpConfig DoubleFPConfig { get; }

Property Value

FpConfig

DriverVersion

The device driver version

public string DriverVersion { get; }

Property Value

string

Extensions

The device extensions

public string Extensions { get; }

Property Value

string

GlobalMemSize

The global memory size

public nint GlobalMemSize { get; }

Property Value

nint

HalfFPConfig

The device half floating point configuration

public FpConfig HalfFPConfig { get; }

Property Value

FpConfig

HostUnifiedMemory

True if the device use unified memory

public bool HostUnifiedMemory { get; }

Property Value

bool

Image2DMaxHeight

The image2d max height

public int Image2DMaxHeight { get; }

Property Value

int

Image2DMaxWidth

The image 2d max width

public int Image2DMaxWidth { get; }

Property Value

int

IsAMD

Indicates if this is an AMD device

public bool IsAMD { get; }

Property Value

bool

IsIntel

Indicates if this is an Intel device

public bool IsIntel { get; }

Property Value

bool

IsNVidia

Indicates if this is an NVidia device

public bool IsNVidia { get; }

Property Value

bool

LinkerAvailable

Indicates if the linker is available

public bool LinkerAvailable { get; }

Property Value

bool

LocalMemSize

The local memory size

public int LocalMemSize { get; }

Property Value

int

MaxComputeUnits

The max compute unit

public int MaxComputeUnits { get; }

Property Value

int

MaxMemAllocSize

The maximum memory allocation size

public int MaxMemAllocSize { get; }

Property Value

int

MaxWorkGroupSize

The maximum work group size

public int MaxWorkGroupSize { get; }

Property Value

int

Name

The device name

public string Name { get; }

Property Value

string

NativeDevicePointer

Get the native device pointer

public nint NativeDevicePointer { get; }

Property Value

nint

OpenCLCVersion

The device OpenCL C version

public string OpenCLCVersion { get; }

Property Value

string

OpenCLVersion

The device OpenCL version

public string OpenCLVersion { get; }

Property Value

string

SingleFPConfig

The device single floating point configuration

public FpConfig SingleFPConfig { get; }

Property Value

FpConfig

Type

The ocl device type

public DeviceType Type { get; }

Property Value

DeviceType

VendorName

The device vendor name

public string VendorName { get; }

Property Value

string

Version

The device version

public string Version { get; }

Property Value

string

Methods

DisposeObject()

Release all the unmanaged memory associated with this OclDevice

protected override void DisposeObject()

Set(nint)

Set the native device pointer

public void Set(nint nativeDevicePointer)

Parameters

nativeDevicePointer nint

The native device pointer

ToString()

Get the string representation of this oclDevice

public override string ToString()

Returns

string

A string representation of this oclDevice