summaryrefslogtreecommitdiffstats
path: root/test/com/mbien
diff options
context:
space:
mode:
Diffstat (limited to 'test/com/mbien')
-rw-r--r--test/com/mbien/opencl/CLProgramTest.java3
1 files changed, 1 insertions, 2 deletions
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());