Interface OpenCLObject.ObjectReleaser

Enclosing interface:
OpenCLObject

public static interface OpenCLObject.ObjectReleaser
Releaser for an OpenCLObject. Implementations of this interface must not hold a reference to the OpenCLObject directly.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases the native resources of the associated OpenCLObject.
  • Method Details

    • release

      void release()
      Releases the native resources of the associated OpenCLObject. This method must be guarded against multiple calls: only the first call should release, the next ones must not throw an exception.