Platforms to show: All Mac Windows Linux Cross-Platform

Back to CLDeviceMBS class.

Previous items

CLDeviceMBS.MaxSamplers as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Maximum number of samplers that can be used in a kernel.

The minimum value is 16 if ImageSupport is true.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.MaxWorkGroupSize as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Maximum number of work-items in a work-group executing a kernel using the data parallel execution model.

(Refer to EnqueueNDRangeKernel). The minimum value is 1.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.MaxWorkItemDimensions as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Maximum dimensions that specify the global and local work-item IDs used by the data parallel execution model.

(Refer to EnqueueNDRangeKernel). The minimum value is 3.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.MaxWriteImageArgs as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Max number of simultaneous image objects that can be written to by a kernel.

The minimum value is 8 if ImageSupport is true.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.MemoryBaseAddressAlign as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Describes the alignment in bits of the base address of any allocated memory object.

Lasterror is set.

Some examples using this method:

CLDeviceMBS.MinDataTypeAlignSize as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The smallest alignment in bytes which can be used for any data type.

Lasterror is set.

Some examples using this method:

CLDeviceMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Device name string.
Example
dim Devices(-1) as CLDeviceMBS = OpenCLMBS.AllDevices(CLDeviceMBS.kDeviceTypeAll)

for each p as CLDeviceMBS in Devices
MsgBox p.Name
next

Lasterror is set.

CLDeviceMBS.Platform as CLPlatformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The platform associated with this device.

Lasterror is set.

CLDeviceMBS.PreferredVectorWidthChar as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Preferred native vector width size for built-in scalar types that can be put into vectors.

The vector width is defined as the number of scalar elements that can be stored in the vector.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.PreferredVectorWidthDouble as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Preferred native vector width size for built-in scalar types that can be put into vectors.

The vector width is defined as the number of scalar elements that can be stored in the vector.

If the cl_khr_fp64 extension is not supported, this function must return 0.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.PreferredVectorWidthFloat as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Preferred native vector width size for built-in scalar types that can be put into vectors.

The vector width is defined as the number of scalar elements that can be stored in the vector.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.PreferredVectorWidthInt as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Preferred native vector width size for built-in scalar types that can be put into vectors.

The vector width is defined as the number of scalar elements that can be stored in the vector.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.PreferredVectorWidthLong as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Preferred native vector width size for built-in scalar types that can be put into vectors.

The vector width is defined as the number of scalar elements that can be stored in the vector.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.PreferredVectorWidthShort as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Preferred native vector width size for built-in scalar types that can be put into vectors.

The vector width is defined as the number of scalar elements that can be stored in the vector.
Lasterror is set.

Some examples using this method:

CLDeviceMBS.Profile as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
OpenCL profile string.

Returns the profile name supported by the device (see note). The profile name returned can be one of the following strings:

FULL_PROFILE - if the device supports the OpenCL specification (functionality defined as part of the core specification and does not require any extensions to be supported).

EMBEDDED_PROFILE - if the device supports the OpenCL embedded profile.
Lasterror is set.

CLDeviceMBS.ProfilingTimerResolution as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Describes the resolution of device timer. This is measured in nanoseconds.

Lasterror is set.

Some examples using this method:

CLDeviceMBS.QueueProperties as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Describes the command-queue properties supported by the device.

See kQueueOutOfOrderExecModeEnable and kQueueProfilingEnable.
Lasterror is set.

CLDeviceMBS.SingleFPConfig as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Describes single precision floating-point capability of the device.

The mandated minimum floating-point capability is kFPRoundToNearest+kFPInfNAN.
Lasterror is set.

CLDeviceMBS.Vendor as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Vendor name string.

Lasterror is set.

CLDeviceMBS.VendorID as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A unique device vendor identifier.

An example of a unique device identifier could be the PCIe ID.
Lasterror is set.

Previous items

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...