summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/jogamp/opencl/CLKernel.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLKernel.java b/src/com/jogamp/opencl/CLKernel.java
index 4d06d8b9..0f7df9b3 100644
--- a/src/com/jogamp/opencl/CLKernel.java
+++ b/src/com/jogamp/opencl/CLKernel.java
@@ -247,8 +247,11 @@ public class CLKernel extends CLObjectResource implements Cloneable {
return this;
}
- public CLKernel putNullArg(int size) {
- setNullArg(argIndex, size);
+ /**
+ * Sets the size of a <i>local</i> kernel argument.
+ */
+ public CLKernel putArgSize(int size) {
+ setArgSize(argIndex, size);
argIndex++;
return this;
}
@@ -419,7 +422,10 @@ public class CLKernel extends CLObjectResource implements Cloneable {
return this;
}
- public CLKernel setNullArg(int argumentIndex, int size) {
+ /**
+ * Sets the size of a <i>local</i> kernel argument at the specified index.
+ */
+ public CLKernel setArgSize(int argumentIndex, int size) {
setArgument(argumentIndex, size, null);
return this;
}