From 3a20670487663cfbadea480de6e0322c3055afcf Mon Sep 17 00:00:00 2001
From: Michael Bien <mbien@fh-landshut.de>
Date: Wed, 4 May 2011 16:26:46 +0200
Subject: initial import of CLCommandQueuePool and CLTask.

---
 test/com/jogamp/opencl/CLMultiContextTest.java     | 51 --------------------
 .../opencl/util/concurrent/CLMultiContextTest.java | 54 ++++++++++++++++++++++
 2 files changed, 54 insertions(+), 51 deletions(-)
 delete mode 100644 test/com/jogamp/opencl/CLMultiContextTest.java
 create mode 100644 test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java

(limited to 'test/com/jogamp/opencl')

diff --git a/test/com/jogamp/opencl/CLMultiContextTest.java b/test/com/jogamp/opencl/CLMultiContextTest.java
deleted file mode 100644
index 20274601..00000000
--- a/test/com/jogamp/opencl/CLMultiContextTest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Created on Tuesday, May 03 2011
- */
-package com.jogamp.opencl;
-
-import org.junit.Rule;
-import org.junit.rules.MethodRule;
-import org.junit.rules.Timeout;
-import com.jogamp.opencl.util.CLMultiContext;
-import java.util.List;
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-import static java.lang.System.*;
-
-/**
- *
- * @author Michael Bien
- */
-public class CLMultiContextTest {
-
-    @Rule
-    public MethodRule methodTimeout= new Timeout(10000);
-
-    @Test
-    public void createMultiContextTest() {
-
-        CLMultiContext mc = CLMultiContext.create(CLPlatform.listCLPlatforms());
-
-        try{
-            List<CLContext> contexts = mc.getContexts();
-            List<CLDevice> devices = mc.getDevices();
-
-            assertFalse(contexts.isEmpty());
-            assertFalse(devices.isEmpty());
-
-            for (CLContext context : contexts) {
-                out.println(context);
-            }
-            for (CLDevice device : devices) {
-                out.println(device);
-            }
-
-        }finally{
-            mc.release();
-        }
-
-    }
-
-
-}
diff --git a/test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java b/test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java
new file mode 100644
index 00000000..8e96dafa
--- /dev/null
+++ b/test/com/jogamp/opencl/util/concurrent/CLMultiContextTest.java
@@ -0,0 +1,54 @@
+/*
+ * Created on Tuesday, May 03 2011
+ */
+package com.jogamp.opencl.util.concurrent;
+
+import com.jogamp.opencl.CLContext;
+import com.jogamp.opencl.CLDevice;
+import com.jogamp.opencl.CLPlatform;
+import org.junit.Rule;
+import org.junit.rules.MethodRule;
+import org.junit.rules.Timeout;
+import com.jogamp.opencl.util.CLMultiContext;
+import java.util.List;
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+import static java.lang.System.*;
+
+/**
+ *
+ * @author Michael Bien
+ */
+public class CLMultiContextTest {
+
+    @Rule
+    public MethodRule methodTimeout= new Timeout(10000);
+
+    @Test
+    public void createMultiContextTest() {
+
+        CLMultiContext mc = CLMultiContext.create(CLPlatform.listCLPlatforms());
+
+        try{
+            List<CLContext> contexts = mc.getContexts();
+            List<CLDevice> devices = mc.getDevices();
+
+            assertFalse(contexts.isEmpty());
+            assertFalse(devices.isEmpty());
+
+            for (CLContext context : contexts) {
+                out.println(context);
+            }
+            for (CLDevice device : devices) {
+                out.println(device);
+            }
+
+        }finally{
+            mc.release();
+        }
+
+    }
+
+
+}
-- 
cgit v1.2.3