diff options
author | Michael Bien <[email protected]> | 2010-05-12 17:21:36 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-05-12 17:21:36 +0200 |
commit | a0f74dd069149b7eb1966c248c64ed35bb062863 (patch) | |
tree | e8d176f70206213794605acc795f45aabe37b109 /test/com/jogamp/opencl | |
parent | 503f38b03f6fabcba6e3c3c573eec949966b86ca (diff) |
disabled callbacks temporary to be able to build on windows.
fixed a few compiler warnings.
Diffstat (limited to 'test/com/jogamp/opencl')
-rw-r--r-- | test/com/jogamp/opencl/CLProgramTest.java | 1 | ||||
-rw-r--r-- | test/com/jogamp/opencl/LowLevelBindingTest.java | 1 | ||||
-rw-r--r-- | test/com/jogamp/opencl/gl/CLGLTest.java | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/test/com/jogamp/opencl/CLProgramTest.java b/test/com/jogamp/opencl/CLProgramTest.java index ec238fb5..b25230f8 100644 --- a/test/com/jogamp/opencl/CLProgramTest.java +++ b/test/com/jogamp/opencl/CLProgramTest.java @@ -203,6 +203,7 @@ public class CLProgramTest { }; builder.setProgram(program).build(buildCallback); + countdown.countDown(); // TODO remove if callbacks are enabled again countdown.await(); } diff --git a/test/com/jogamp/opencl/LowLevelBindingTest.java b/test/com/jogamp/opencl/LowLevelBindingTest.java index 2d6ea08f..9e4082aa 100644 --- a/test/com/jogamp/opencl/LowLevelBindingTest.java +++ b/test/com/jogamp/opencl/LowLevelBindingTest.java @@ -264,6 +264,7 @@ public class LowLevelBindingTest { // Build the program ret = cl.clBuildProgram(program, 0, null, null, callback); + latch.countDown(); // TODO remove if callbacks are enabled again checkError("on clBuildProgram", ret); out.println("waiting for program to build..."); diff --git a/test/com/jogamp/opencl/gl/CLGLTest.java b/test/com/jogamp/opencl/gl/CLGLTest.java index 278206cf..c91ac439 100644 --- a/test/com/jogamp/opencl/gl/CLGLTest.java +++ b/test/com/jogamp/opencl/gl/CLGLTest.java @@ -76,6 +76,8 @@ public class CLGLTest { if(device == null) { out.println("Aborting test: no GLCL capable devices found."); return; + }else{ + out.println("isGLMemorySharingSupported==true on: \n "+device); } CLContext context = CLGLContext.create(glcontext, device); |