diff options
author | Michael Bien <[email protected]> | 2009-11-08 21:48:29 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-11-08 21:48:29 +0100 |
commit | d2050aea14e6ab1a6429eab56f0612c2deb6184f (patch) | |
tree | ecb5b0fa28e3cc592b053cef7ac1dab3edcb684d /src/com/mbien/opencl/CLBuffer.java | |
parent | c33ac63fb62d3d27979ca56bb577c18f745f70d4 (diff) |
improved Exception handling in CLProgram and CLKernel.
introduced CLResource interface for releasable resources.
CLProgram is now rebuildable.
Diffstat (limited to 'src/com/mbien/opencl/CLBuffer.java')
-rw-r--r-- | src/com/mbien/opencl/CLBuffer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLBuffer.java b/src/com/mbien/opencl/CLBuffer.java index 42b9586d..f640ac1d 100644 --- a/src/com/mbien/opencl/CLBuffer.java +++ b/src/com/mbien/opencl/CLBuffer.java @@ -13,7 +13,7 @@ import static com.mbien.opencl.CLException.*; * * @author Michael Bien */ -public class CLBuffer<B extends Buffer> { +public class CLBuffer<B extends Buffer> implements CLResource { public final B buffer; public final long ID; |