diff options
author | Michael Bien <[email protected]> | 2009-09-18 15:55:10 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-09-18 15:55:10 +0200 |
commit | d31496fc6c4d1e246cfd53beb438312d16f8d582 (patch) | |
tree | 4fda23ea656802a06c00769e83a424ed6cb7913a /test/com/mbien/opencl | |
parent | 105aa6ed86d452245007cbfd36e712d4d5c66fa3 (diff) |
added cl-gl3 binding
Diffstat (limited to 'test/com/mbien/opencl')
-rw-r--r-- | test/com/mbien/opencl/JOCLTest.java | 9 |
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); + } |