diff options
Diffstat (limited to 'test/com/jogamp/opencl/CLCommandQueueTest.java')
-rw-r--r-- | test/com/jogamp/opencl/CLCommandQueueTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/com/jogamp/opencl/CLCommandQueueTest.java b/test/com/jogamp/opencl/CLCommandQueueTest.java index a5d7afb1..e2da5665 100644 --- a/test/com/jogamp/opencl/CLCommandQueueTest.java +++ b/test/com/jogamp/opencl/CLCommandQueueTest.java @@ -72,6 +72,8 @@ public class CLCommandQueueTest { CLKernel vectorAddKernel = program.createCLKernel("VectorAddGM").setArg(3, elements); CLCommandQueue queue = context.getDevices()[0].createCommandQueue(); + out.println(queue); + final CLEventList events = new CLEventList(2); assertEquals(0, events.size()); @@ -129,6 +131,8 @@ public class CLCommandQueueTest { CLKernel vectorAddKernel = program.createCLKernel("VectorAddGM").setArg(3, elements); CLCommandQueue queue = context.getDevices()[0].createCommandQueue(Mode.PROFILING_MODE); + out.println(queue); + queue.putWriteBuffer(clBufferA, true) // write A .putWriteBuffer(clBufferB, true);// write B @@ -192,6 +196,9 @@ public class CLCommandQueueTest { final CLCommandQueue queue1 = devices[0 ].createCommandQueue(); final CLCommandQueue queue2 = devices[secondDevice].createCommandQueue(); + out.println(queue1); + out.println(queue2); + fillBuffer(clBufferC.buffer, 12345); if (secondDevice > 0) { |