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
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
KernelProfileRecords
Gets all the kernel profile records for this devices.
public IReadOnlyList<IOpenCLKernelProfileRecord> KernelProfileRecords { get; }
Property Value
- IReadOnlyList<IOpenCLKernelProfileRecord>
Name
Gets the name of the device.
public string Name { get; }
Property Value
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
Version
Gets the OpenCL version supported by the device.
public string Version { get; }