| SoOpenCLDevice Class |
OpenCL device management class.
Namespace: OIV.Inventor.Devices
The SoOpenCLDevice type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| FindFirstAvailableDevice | Returns the first available OpenCL device in the system. | |
| Finish | Unregister the class and previously registered devices. | |
| GetAvailableMemory | Returns the current available memory of this device in bytes. | |
| GetComputingVersion | Returns the version of OpenCL supported by this device. | |
| GetDevice | Returns the SoOpenCLDevice indicated by index. | |
| GetDeviceName | Returns the name of this device. | |
| GetDevicesCount | Returns the number of OpenCL capable devices in the system. | |
| GetDeviceType | Returns the device type, or a binary combination of device type. | |
| GetDeviceTypeString | Returns a string which describes the device type combination. | |
| GetDriverVersion | Returns the driver version of this device. | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetLogicalUnits | Returns the number of logical units of this device. | |
| GetMaxMemoryAllocationSize | Returns the maximum size (in bytes) of a buffer allocated on the device. | |
| GetMaxWorkGroupSize | Returns the maximum group size for this device. | |
| GetMaxWorkItemSizes | Returns the maximum grid size for this device. | |
| GetTotalMemory | Returns the total memory of this device in bytes. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Init | Detect and register available OpenCL devices. | |
| IsInitialized | Returns true if module is currently initialized. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class provides functions to discover, and query information about, OpenCL-enabled devices (CPU, GPU, etc) available in the system using the standard OpenCL API. You can query the memory available on a device, the compute capability, etc.
Please see SoDevice for general information about the device classes.
NOTE: Before using these devices the application must initialize OpenCL by calling SoOpenCL.init.