summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/CLContext.java')
-rw-r--r--src/com/mbien/opencl/CLContext.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CLContext.java b/src/com/mbien/opencl/CLContext.java
index 4cc21d0f..6b09cc37 100644
--- a/src/com/mbien/opencl/CLContext.java
+++ b/src/com/mbien/opencl/CLContext.java
@@ -378,6 +378,10 @@ public class CLContext extends CLObject implements CLResource {
checkForError(ret, "error releasing context");
}
+ public void close() {
+ release();
+ }
+
/**
* Returns the CLPlatform this context is running on.
*/