summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLProgram.java
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 /src/com/mbien/opencl/CLProgram.java
parent0b7b387ff2d829f611b385a6aebfe91ee746196a (diff)
introduced CLBuildConfiguration and CLProgramConfiguration interfaces for CLProgramBuilder.
Diffstat (limited to 'src/com/mbien/opencl/CLProgram.java')
-rw-r--r--src/com/mbien/opencl/CLProgram.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/mbien/opencl/CLProgram.java b/src/com/mbien/opencl/CLProgram.java
index 562df69b..44e747bf 100644
--- a/src/com/mbien/opencl/CLProgram.java
+++ b/src/com/mbien/opencl/CLProgram.java
@@ -247,10 +247,10 @@ public class CLProgram extends CLObject implements CLResource {
}
/**
- * Prepares the build for this program by returning a {@link CLProgramBuilder}.
+ * Prepares the build for this program by returning a new {@link CLProgramConfiguration}.
*/
- public CLProgramBuilder prepare() {
- return new CLProgramBuilder(this);
+ public CLProgramConfiguration prepare() {
+ return CLProgramBuilder.createForProgram(this);
}
/**