Show / Hide Table of Contents

Class CLBase

This is a base class for OpenCL APIs that are using DllImport and want to resolve different dll names on different platforms.

Inheritance
object
CLBase
CL
CLGL
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Compute.Native
Assembly: OpenTK.Compute.dll
Syntax
public abstract class CLBase

Methods

RegisterOpenCLResolver()

This needs to be called before trying to use any OpenCL functions. This should be done in the static constructor of any class that DllImports OpenCL functions.

Declaration
public static void RegisterOpenCLResolver()
In This Article
Back to top Generated by DocFX