diff options
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); |