aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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);
+
}