summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-16 00:12:28 +0200
committerMichael Bien <[email protected]>2010-04-16 00:12:28 +0200
commit33d868102305697fd429039aa08f143db843d23a (patch)
treedda8dc620ff353c90e21910a799c21922ae061f5 /test/com/jogamp/opencl
parent2f6ce2419ec465bb40e076746367ae7073f83f45 (diff)
fixed buffer-offset bug in CLKernel.getCompileWorkGroupSize, optimized buffer size on 32bit systems, enabled test.
Diffstat (limited to 'test/com/jogamp/opencl')
-rw-r--r--test/com/jogamp/opencl/CLProgramTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/com/jogamp/opencl/CLProgramTest.java b/test/com/jogamp/opencl/CLProgramTest.java
index 18ae1e85..e6ce9207 100644
--- a/test/com/jogamp/opencl/CLProgramTest.java
+++ b/test/com/jogamp/opencl/CLProgramTest.java
@@ -239,9 +239,13 @@ public class CLProgramTest {
long[] wgs = kernel.getCompileWorkGroupSize(context.getDevices()[0]);
- // TODO test on other hardware and compare results
out.println("compile workgroup size: " + wgs[0]+" "+wgs[1]+" "+wgs[2]);
+ assertEquals(512, wgs[0]);
+ assertEquals(512, wgs[1]);
+ assertEquals(512, wgs[2]);
+
+
}finally{
context.release();
}