java.lang.Object
de.grogra.gpuflux.jocl.compute.Device
-
Constructor Summary
ModifierConstructorDescriptionprotected
Device
(int contextID, JOCLDevice device, ComputeContext context) -
Method Summary
Modifier and TypeMethodDescriptioncreateBuffer
(int size, long flags) void
executeKernel
(Kernel kernel, int stream_size) void
executeKernel
(Kernel kernel, int stream_size, org.jocl.cl_event event) void
finish()
protected int
protected JOCLDevice
getName()
boolean
void
setKernelArg
(Kernel kernel, int arg_idx, int arg_size, org.jocl.Pointer p) void
setKernelArgBuffer
(Kernel kernel, int arg_idx, ByteArray buffer) void
setKernelArgFloat
(Kernel kernel, int arg_idx, float f) void
setKernelArgFloat
(Kernel kernel, int arg_idx, float[] f) void
setKernelArgInt
(Kernel kernel, int arg_idx, int i) void
setKernelArgMemBuffer
(Kernel kernel, int arg_idx, Buffer buf) void
setKernelArgMemBuffer
(Kernel kernel, int arg_idx, SharedBuffer buf) toString()
-
Constructor Details
-
Device
-
-
Method Details
-
createBuffer
-
getContext
-
setKernelArg
-
setKernelArgInt
-
setKernelArgFloat
-
setKernelArgFloat
-
setKernelArgMemBuffer
-
setKernelArgBuffer
-
executeKernel
-
finish
public void finish() -
getContextID
protected int getContextID() -
getDevice
-
getName
-
toString
-
executeKernel
-
createByteBuffer
-
isLittleEndian
public boolean isLittleEndian() -
getByteOrder
-