diff options
author | Michael Bien <[email protected]> | 2010-02-19 01:27:23 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-19 01:27:23 +0100 |
commit | a49b22397ae525e9b659a112aa11e4647c18c214 (patch) | |
tree | cc13baf0bae35131f7f13d1a9c71d3eab8ffe0fe /src/com | |
parent | 9542b173b10d2bb0eb492230025bdede638631b0 (diff) |
enabled putMapImage methods in CLCommandQueue.
added slightly modified mapImage implementation via custom code for mapped image buffer size calculation in the glue layer.
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/mbien/opencl/CLCommandQueue.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLCommandQueue.java b/src/com/mbien/opencl/CLCommandQueue.java index d1273633..c8b862be 100644 --- a/src/com/mbien/opencl/CLCommandQueue.java +++ b/src/com/mbien/opencl/CLCommandQueue.java @@ -502,7 +502,7 @@ public class CLCommandQueue implements CLResource { return mappedBuffer; } -/* TODO finish putMapImage + // 2D public ByteBuffer putMapImage(CLImage2d<?> image, CLMemory.Map flag, boolean blockingMap) { return putMapImage(image, flag, blockingMap, null); @@ -570,7 +570,7 @@ public class CLCommandQueue implements CLResource { return mappedImage; } -*/ + public CLCommandQueue putUnmapMemory(CLMemory<?> memory) { return putUnmapMemory(memory, null); } |