Click or drag to resize
SoOpenCL Class

OpenCL module API.

Inheritance Hierarchy

Namespace: OIV.Inventor.OpenCL
Assembly: OIV.Inventor.OpenCL (in OIV.Inventor.OpenCL.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public sealed class SoOpenCL : SoNetBase

The SoOpenCL type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsAvailable

This function indicates if OpenCL is available on this platform.

Public methodStatic memberLoadSourceModule

This function loads a cubin file and register it in the list of modules.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

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

  • ....

    USAGE

    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.

    NOTES

    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.

See Also