summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/CLProgramTest.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-05-31 19:51:46 +0200
committerMichael Bien <[email protected]>2010-05-31 19:51:46 +0200
commitc5b1dc47f398597a127ebb7cdf72ab324b08a174 (patch)
tree690599a569f5f5a78f190eff45e414b4574759fd /test/com/jogamp/opencl/CLProgramTest.java
parent8a5bbd80a3ffc3154b637e0b6c40342dfacb3576 (diff)
changes due to gluegen size_t fix. Switched back to PointerBuffer. 32bit systems are now supported again.
Diffstat (limited to 'test/com/jogamp/opencl/CLProgramTest.java')
-rw-r--r--test/com/jogamp/opencl/CLProgramTest.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/com/jogamp/opencl/CLProgramTest.java b/test/com/jogamp/opencl/CLProgramTest.java
index b25230f8..fd98e78e 100644
--- a/test/com/jogamp/opencl/CLProgramTest.java
+++ b/test/com/jogamp/opencl/CLProgramTest.java
@@ -189,7 +189,7 @@ public class CLProgramTest {
.withDefine("ENABLE_FOOBAR");
out.println(builder);
-
+
// async build test
{
final CountDownLatch countdown = new CountDownLatch(1);
@@ -233,7 +233,7 @@ public class CLProgramTest {
program = programConfig.build();
assertTrue(program.isExecutable());
-
+
// cloneing
assertEquals(builder, builder.clone());
@@ -277,5 +277,13 @@ public class CLProgramTest {
}
+// @Test
+ public void loadTest() throws IOException, ClassNotFoundException, InterruptedException {
+ for(int i = 0; i < 100; i++) {
+ rebuildProgramTest();
+ builderTest();
+ programBinariesTest();
+ }
+ }
}