aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-09-18 15:55:10 +0200
committerMichael Bien <[email protected]>2009-09-18 15:55:10 +0200
commitd31496fc6c4d1e246cfd53beb438312d16f8d582 (patch)
tree4fda23ea656802a06c00769e83a424ed6cb7913a /test
parent105aa6ed86d452245007cbfd36e712d4d5c66fa3 (diff)
added cl-gl3 binding
Diffstat (limited to 'test')
-rw-r--r--test/com/mbien/opencl/JOCLTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/com/mbien/opencl/JOCLTest.java b/test/com/mbien/opencl/JOCLTest.java
index 3dce30a3..a3bdee3e 100644
--- a/test/com/mbien/opencl/JOCLTest.java
+++ b/test/com/mbien/opencl/JOCLTest.java
@@ -24,15 +24,18 @@ public class JOCLTest {
}
@Test
- public void test() {
+ public void basicTest() {
System.out.println(0xFFFFFFFF);
System.out.println(0xFFFFFFFE);
System.out.println(0xFFFFFFFD);
-// System.out.println(CL.CL_DEVICE_TYPE_ALL);
+
+ System.loadLibrary("jocl");
+
CLImpl impl = new CLImpl();
long ctx = impl.clCreateContextFromType(null, CL.CL_DEVICE_TYPE_ALL, null);
-// impl.clgetp
+ System.out.println("context handle: "+ctx);
+
}