From 0857dbb04fe9259f1076e9559b822c5032c23461 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 25 Feb 2010 19:13:15 +0100 Subject: introduced CLBuildConfiguration and CLProgramConfiguration interfaces for CLProgramBuilder. --- test/com/mbien/opencl/CLProgramTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/com/mbien/opencl/CLProgramTest.java b/test/com/mbien/opencl/CLProgramTest.java index 95ed5e8c..a1392bfc 100644 --- a/test/com/mbien/opencl/CLProgramTest.java +++ b/test/com/mbien/opencl/CLProgramTest.java @@ -167,12 +167,11 @@ public class CLProgramTest { // program.release(); // reusable builder - CLProgramBuilder builder = new CLProgramBuilder() + CLBuildConfiguration builder = CLProgramBuilder.createConfiguration() .withOption(ENABLE_MAD) .forDevice(context.getMaxFlopsDevice()) .withDefine("RADIUS", 5) .withDefine("ENABLE_FOOBAR"); - builder.build(program); assertTrue(program.isExecutable()); -- cgit v1.2.3