aboutsummaryrefslogtreecommitdiffstats
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.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CLResource.java b/src/com/mbien/opencl/CLResource.java
new file mode 100644
index 00000000..4f0d9d01
--- /dev/null
+++ b/src/com/mbien/opencl/CLResource.java
@@ -0,0 +1,14 @@
+package com.mbien.opencl;
+
+/**
+ * Releasable OpenCL resource.
+ * @author Michael Bien
+ */
+public interface CLResource {
+
+ /**
+ * Releases the OpenCL resource.
+ */
+ public void release();
+
+}