Table of Contents

Class OpenCLDevice

Namespace
ImageMagick
Assembly
Magick.NET-Q8-AnyCPU.dll

Represents an OpenCL device.

public sealed class OpenCLDevice : IOpenCLDevice
Inheritance
OpenCLDevice
Implements
IOpenCLDevice
Inherited Members

Properties

BenchmarkScore

Gets the benchmark score of the device.

public double BenchmarkScore { get; }

Property Value

double

DeviceType

Gets the type of the device.

public OpenCLDeviceType DeviceType { get; }

Property Value

OpenCLDeviceType

IsEnabled

Gets or sets a value indicating whether the device is enabled or disabled.

public bool IsEnabled { get; set; }

Property Value

bool

KernelProfileRecords

Gets all the kernel profile records for this devices.

public IReadOnlyList<IOpenCLKernelProfileRecord> KernelProfileRecords { get; }

Property Value

IReadOnlyList<IOpenCLKernelProfileRecord>

A IEnumerable<T>.

Name

Gets the name of the device.

public string Name { get; }

Property Value

string

ProfileKernels

Gets or sets a value indicating whether kernel profiling is enabled. This can be used to get information about the OpenCL performance.

public bool ProfileKernels { get; set; }

Property Value

bool

Version

Gets the OpenCL version supported by the device.

public string Version { get; }

Property Value

string