From 33d868102305697fd429039aa08f143db843d23a Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 16 Apr 2010 00:12:28 +0200 Subject: fixed buffer-offset bug in CLKernel.getCompileWorkGroupSize, optimized buffer size on 32bit systems, enabled test. --- test/com/jogamp/opencl/CLProgramTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/com/jogamp/opencl/CLProgramTest.java') 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(); } -- cgit v1.2.3