diff options
author | Michael Bien <[email protected]> | 2010-02-24 16:00:35 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-24 16:00:35 +0100 |
commit | 0b0a4735f71f1e34adf426a1c033b94aca01ab75 (patch) | |
tree | 22d430272f1554f87a8bc7ca91d26e92c2aa5cde /test/com/mbien | |
parent | 01775d5597d6d1ef4fff195f572c1a6528438f66 (diff) |
code review, spell checks and scope.
Diffstat (limited to 'test/com/mbien')
-rw-r--r-- | test/com/mbien/opencl/CLBufferTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/com/mbien/opencl/CLBufferTest.java b/test/com/mbien/opencl/CLBufferTest.java index 39f85a75..7a16e9d7 100644 --- a/test/com/mbien/opencl/CLBufferTest.java +++ b/test/com/mbien/opencl/CLBufferTest.java @@ -26,7 +26,7 @@ public class CLBufferTest { CLContext context = CLContext.create(); - // the CL.MEM_* flag is probably completly irrelevant in our case since we do not use a kernel in this test + // the CL.MEM_* flag is probably completely irrelevant in our case since we do not use a kernel in this test CLBuffer<ByteBuffer> clBufferA = context.createByteBuffer(elements*SIZEOF_INT, Mem.READ_ONLY); CLBuffer<ByteBuffer> clBufferB = context.createByteBuffer(elements*SIZEOF_INT, Mem.READ_ONLY); @@ -101,9 +101,9 @@ public class CLBufferTest { final int elements = NUM_ELEMENTS; final int sizeInBytes = elements*SIZEOF_INT; - CLContext context = null; - CLBuffer<?> clBufferA = null; - CLBuffer<?> clBufferB = null; + CLContext context; + CLBuffer<?> clBufferA; + CLBuffer<?> clBufferB; // We will have to allocate mappable NIO memory on non CPU contexts // since we can't map e.g GPU memory. |