public static interface OpenCLObject.ObjectReleaser
OpenCLObject
.
Implementations of this interface must not hold a reference to the
OpenCLObject
directly.Modifier and Type | Method and Description |
---|---|
void |
release()
Releases the native resources of the associated
OpenCLObject . |
void release()
OpenCLObject
.
This method must be guarded against multiple calls: only the first
call should release, the next ones must not throw an exception.