SoOpenCL Class |
OpenCL module API.
Namespace: OIV.Inventor.OpenCL
The SoOpenCL type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | IsAvailable | This function indicates if OpenCL is available on this platform. |
![]() ![]() | LoadSourceModule | This function loads a cubin file and register it in the list of modules. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The Inventor OpenCL module provides a set of useful functions for OpenCL development including memory managment, module handling and device managment functions.
<font color="#0000FF">NOTE:</font> The classes in this module do not exist in Open Inventor 10.0 and later.
Memory managment is provided by the SoOpenCLBufferObject class.
Module handling is included in the SoOpenCL class.
Device managment functions are provided by the classes SoOpenCLContext and SoOpenCLDevice.
This module also provides built-in OpenCL functions to quickly integrate in your application the OpenCL functions useful to improve your computing performences.
The integrated modules are organized in different topics:
Conversion
Volumes
....
After the initialization of OpenInventor the OpenCL module must be initialized using the init function. Before exiting the application the finish function must be called, in order to free all the memory allocated by the module.
After the initialization of the OpenCL module there is no default OpenCLContext, so don't forget to create an OpenCL context before performing any OpenCL operation. See the class SoOpenCLContext for more information.