diff options
author | Michael Bien <[email protected]> | 2009-10-27 18:51:36 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-10-27 18:51:36 +0100 |
commit | 4df2a1b266a25c1d37126acdb82cf578ac61f9a8 (patch) | |
tree | c9543bcae35dd674d09aa47eb712b9b261638d67 /src/com/mbien/opencl/CLKernel.java | |
parent | 30cd68083930688693ebdfefdeda609d857a2c8a (diff) |
generified CLBuffer, added createFromGLBuffer(...).
Diffstat (limited to 'src/com/mbien/opencl/CLKernel.java')
-rw-r--r-- | src/com/mbien/opencl/CLKernel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLKernel.java b/src/com/mbien/opencl/CLKernel.java index 3388251b..21b176c7 100644 --- a/src/com/mbien/opencl/CLKernel.java +++ b/src/com/mbien/opencl/CLKernel.java @@ -38,7 +38,7 @@ public class CLKernel { } - public CLKernel setArg(int argumentIndex, CLBuffer value) { + public CLKernel setArg(int argumentIndex, CLBuffer<?> value) { int ret = cl.clSetKernelArg(ID, argumentIndex, CPU.is32Bit()?4:8, wrap(value.ID)); checkForError(ret, "error on clSetKernelArg"); return this; |