Table of Contents

Constructor OclDeviceInfo

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

OclDeviceInfo(string, string, string, string, string, string, OclDeviceTypes, int, bool, bool, bool, int, int, ulong, ulong, bool, bool)

A read-only snapshot of an OpenCL device.

public OclDeviceInfo(string Name, string VendorName, string Version, string OpenCLVersion, string OpenCLCVersion, string DriverVersion, OclDeviceTypes Type, int AddressBits, bool Available, bool CompilerAvailable, bool LinkerAvailable, int MaxClockFrequency, int MaxComputeUnits, ulong GlobalMemorySize, ulong LocalMemorySize, bool HostUnifiedMemory, bool ImageSupport)

Parameters

Name string

Device name.

VendorName string

Device vendor name.

Version string

OpenCV's device version string.

OpenCLVersion string

OpenCL device version string.

OpenCLCVersion string

OpenCL C version string.

DriverVersion string

OpenCL driver version.

Type OclDeviceTypes

Device type.

AddressBits int

Device address width in bits.

Available bool

Whether the device is available.

CompilerAvailable bool

Whether the OpenCL compiler is available.

LinkerAvailable bool

Whether the OpenCL linker is available.

MaxClockFrequency int

Maximum clock frequency in MHz.

MaxComputeUnits int

Maximum number of parallel compute units.

GlobalMemorySize ulong

Global memory size in bytes.

LocalMemorySize ulong

Local memory size in bytes.

HostUnifiedMemory bool

Whether the device and host share unified memory.

ImageSupport bool

Whether OpenCL image objects are supported.