Class CLBase
This is a base class for OpenCL APIs that are using DllImport and want to resolve different dll names on different platforms.
Inherited Members
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()