diff options
Diffstat (limited to 'src/com/mbien/opencl/CLEvent.java')
-rw-r--r-- | src/com/mbien/opencl/CLEvent.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CLEvent.java b/src/com/mbien/opencl/CLEvent.java index fb0af13f..1eb3bb64 100644 --- a/src/com/mbien/opencl/CLEvent.java +++ b/src/com/mbien/opencl/CLEvent.java @@ -30,6 +30,10 @@ public class CLEvent extends CLObject implements CLResource { checkForError(ret, "can not release event"); } + public void close() { + release(); + } + /** * Returns the execution status of the command which triggers this event. */ |