diff options
Diffstat (limited to 'src/com/mbien/opencl/CLKernel.java')
-rw-r--r-- | src/com/mbien/opencl/CLKernel.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CLKernel.java b/src/com/mbien/opencl/CLKernel.java index b661d31c..a50478aa 100644 --- a/src/com/mbien/opencl/CLKernel.java +++ b/src/com/mbien/opencl/CLKernel.java @@ -236,6 +236,10 @@ public class CLKernel extends CLObject implements CLResource, Cloneable { checkForError(ret, "can not release kernel"); } + public void close() { + release(); + } + @Override public String toString() { return "CLKernel [id: " + ID |