summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLResource.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/CLResource.java')
-rw-r--r--src/com/mbien/opencl/CLResource.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLResource.java b/src/com/mbien/opencl/CLResource.java
index 4f0d9d01..8996b40e 100644
--- a/src/com/mbien/opencl/CLResource.java
+++ b/src/com/mbien/opencl/CLResource.java
@@ -4,11 +4,17 @@ package com.mbien.opencl;
* Releasable OpenCL resource.
* @author Michael Bien
*/
-public interface CLResource {
+public interface CLResource extends Disposable<CLException> {
/**
* Releases the OpenCL resource.
*/
public void release();
+ /**
+ * Calls {@link #release()};
+ * @see #release()
+ */
+ @Override public void close();
+
}