summaryrefslogtreecommitdiffstats
path: root/test/com/mbien/opencl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-25 19:13:15 +0100
committerMichael Bien <[email protected]>2010-02-25 19:13:15 +0100
commit0857dbb04fe9259f1076e9559b822c5032c23461 (patch)
tree5a45cd56bf861876f13d32a731a7cf0feb8c725e /test/com/mbien/opencl
parent0b7b387ff2d829f611b385a6aebfe91ee746196a (diff)
introduced CLBuildConfiguration and CLProgramConfiguration interfaces for CLProgramBuilder.
Diffstat (limited to 'test/com/mbien/opencl')
-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());