ClDevice

Namespace

Brahma.FSharp


Represents an abstraction over single OpenCL device.

Contructors

ConstructorSignatureDescription
#new(device)device:Device -> ClDevice

CompiledName:.ctor

Instance members

Instance memberSignatureDescription
#x.DeviceDevice

Gets internal representation of device specific to OpenCL.Net.

CompiledName:get_Device

#x.DeviceExtensionsstring

Returns a space separated list of extension names.

CompiledName:get_DeviceExtensions

#x.DeviceTypeDeviceType

The OpenCL device type.

CompiledName:get_DeviceType

#x.MaxWorkGroupSizeint

Maximum number of work-items in a work-group executing a kernel using the data parallel execution model. The minimum value is 1.

CompiledName:get_MaxWorkGroupSize

#x.MaxWorkItemDimensionsint

Maximum dimensions that specify the global and local work-item IDs used by the data parallel execution model. The minimum value is 3.

CompiledName:get_MaxWorkItemDimensions

#x.MaxWorkItemSizesint []

Maximum number of work-items that can be specified in each dimension of the work-group. The minimum value is (1, 1, 1).

CompiledName:get_MaxWorkItemSizes

#x.Namestring

Device name string.

CompiledName:get_Name

#x.PlatformPlatform

The platform associated with this device.

CompiledName:get_Platform

Static members

Static memberSignatureDescription
#ClDevice.GetAvailableDevices(...)(platform:Platform option * deviceType:DeviceType option) -> seq<ClDevice>

Returns list of all available OpenCL devices of specified platform and device type.

#ClDevice.GetFirstAppropriateDevice(...)(platform:Platform option * deviceType:DeviceType option) -> ClDevice

Returns first available OpenCL device of specified platform and device type or throw exception if there are no available devices.