aboutsummaryrefslogtreecommitdiffstats
path: root/test/com/jogamp
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-07-09 00:43:29 +0200
committerMichael Bien <[email protected]>2011-07-09 00:43:29 +0200
commit519cfb8a41e28e4d10e40496893a9aacf0bce6b1 (patch)
treea3b7812f29ab283afade071f6b8cd3ec42bb8709 /test/com/jogamp
parent4fe7110357d2631960e23861a3221489d313c467 (diff)
changed impl to use an extended ThreadPoolExecutor directly.
Diffstat (limited to 'test/com/jogamp')
-rw-r--r--test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java b/test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java
index 6e5d5e99..1b2575f5 100644
--- a/test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java
+++ b/test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java
@@ -132,16 +132,16 @@ public class CLMultiContextTest {
CLSimpleContextFactory factory = CLQueueContextFactory.createSimple(programSource);
CLCommandQueuePool<CLSimpleQueueContext> pool = CLCommandQueuePool.create(factory, mc);
- assertTrue(pool.getSize() > 0);
+ assertTrue(pool.getPoolSize() > 0);
final int slice = 64;
final int tasksPerQueue = 10;
- final int taskCount = pool.getSize() * tasksPerQueue;
+ final int taskCount = pool.getPoolSize() * tasksPerQueue;
IntBuffer data = Buffers.newDirectIntBuffer(slice*taskCount);
List<CLTestTask> tasks = createTasks(data, taskCount, slice);
- out.println("invoking "+tasks.size()+" tasks on "+pool.getSize()+" queues");
+ out.println("invoking "+tasks.size()+" tasks on "+pool.getPoolSize()+" queues");
// blocking invoke
List<Future<IntBuffer>> results = pool.invokeAll(tasks);