From c8ae2569a4d90e79b9af83acdd50c1be2ecab9f0 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 30 May 2010 04:01:57 +0200 Subject: improved concurrent load test (disabled by default) and confirmed that cl programs can't be built concurrently. CLProgram uses ReentrantLock to put synchronous and asynchronous calls to clBuildProgram(...) in a squence. --- test/com/jogamp/opencl/gl/CLGLTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/com/jogamp/opencl/gl/CLGLTest.java') diff --git a/test/com/jogamp/opencl/gl/CLGLTest.java b/test/com/jogamp/opencl/gl/CLGLTest.java index 8bcb195f..b7dfe1dc 100644 --- a/test/com/jogamp/opencl/gl/CLGLTest.java +++ b/test/com/jogamp/opencl/gl/CLGLTest.java @@ -51,6 +51,8 @@ public class CLGLTest { glWindow.setVisible(true); glcontext = glWindow.getContext(); + out.println("useing glcontext:"); + out.println(glcontext); } @AfterClass -- cgit v1.2.3