OIV.Inventor.OpenCL Namespaces |
Open Inventor 8.1 (and above) brings OpenCL support for fast GPGPU computation.
Namespace | Description |
---|---|
OIV.Inventor.OpenCL | Open Inventor 8.1 (and above) brings OpenCL support for fast GPGPU computation. |
OIV.Inventor.OpenCL.Algorithms | OpenCL optimized module implementing Open Inventor algorithms. |
The OpenCL module is built in a separate module called InventorCL.
<font color="#0000FF">NOTE:</font> The classes in this module do not exist in Open Inventor 10.0 and later.
The OpenCL technology extends the regular C language environment to enable software to run complex algorithms using the multi-core parallel architecture of the GPU.
The OpenCL module brings classes to manage the multiple devices available in the system. The
SoOpenCLDevice class is able to detect the available devices in the system, it also brings useful information about the computing capabilities of each device.
An OpenCL context is a working area in the graphic card memory which encapsulates all the memory used by a thread. At a specific time t only one thread can use a context and the pointer on a memory area is valid only in one context. A context is specific to a device, it's not possible to migrate one context from a device to another one; that's why when you create a context you must indicates to the constructor the device which will manage the context.
The InventorCL module brings a OpenCL buffer object class (
SoOpenCLBufferObject) which brings all the functions needed to allocate and use memory located on the GPU memory.
The InventorCL module contains classes called
SoOpenCL which brings functions for computing purpose.
The algorithms section contains multiple useful OpenCL kernels to improve application development time-line.