summaryrefslogtreecommitdiffstats
path: root/test/com/mbien
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-07-24 18:33:42 +0200
committerMichael Bien <[email protected]>2009-07-24 18:33:42 +0200
commit1737ee672c05d956a99a91d9894556230f6363bc (patch)
tree365a728def62f6c5069a2dcd9a1f6521330e2212 /test/com/mbien
initial import of JOCL the Java Bindings to OpenCL prototype
Diffstat (limited to 'test/com/mbien')
-rw-r--r--test/com/mbien/opencl/JOCLTest.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/com/mbien/opencl/JOCLTest.java b/test/com/mbien/opencl/JOCLTest.java
new file mode 100644
index 00000000..3dce30a3
--- /dev/null
+++ b/test/com/mbien/opencl/JOCLTest.java
@@ -0,0 +1,39 @@
+package com.mbien.opencl;
+
+import com.mbien.opencl.impl.CLImpl;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import static org.junit.Assert.*;
+
+/**
+ *
+ * @author Michael Bien
+ */
+public class JOCLTest {
+
+ public JOCLTest() {
+ }
+
+ @Before
+ public void setUpClass() throws Exception {
+ }
+
+ @After
+ public void tearDownClass() throws Exception {
+ }
+
+ @Test
+ public void test() {
+ System.out.println(0xFFFFFFFF);
+ System.out.println(0xFFFFFFFE);
+ System.out.println(0xFFFFFFFD);
+// System.out.println(CL.CL_DEVICE_TYPE_ALL);
+ CLImpl impl = new CLImpl();
+ long ctx = impl.clCreateContextFromType(null, CL.CL_DEVICE_TYPE_ALL, null);
+
+// impl.clgetp
+ }
+
+
+} \ No newline at end of file