de.grogra.gpuflux.jocl
Class JOCLKernel
java.lang.Object
de.grogra.gpuflux.jocl.JOCLKernel
public class JOCLKernel
- extends java.lang.Object
Constructor Summary |
JOCLKernel(org.jocl.cl_kernel kernel,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOCLKernel
public JOCLKernel(org.jocl.cl_kernel kernel,
java.lang.String name)
finalize
public void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
getKernel
public org.jocl.cl_kernel getKernel()
setKernelArg
public void setKernelArg(int arg_idx,
int arg_size,
org.jocl.Pointer p)
setKernelArgBuffer
public void setKernelArgBuffer(int arg_idx,
ByteArray cameraBuffer)
setKernelArgFloat
public void setKernelArgFloat(int arg_idx,
float f)
setKernelArgInt
public void setKernelArgInt(int arg_idx,
int i)
setKernelArgMemBuffer
public void setKernelArgMemBuffer(int arg_idx,
JOCLBuffer buf)