de.grogra.gpuflux.jocl.compute
Class ComputeContext
java.lang.Object
de.grogra.gpuflux.jocl.compute.ComputeContext
public class ComputeContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComputeContext
public ComputeContext(JOCLDeviceFilter filter)
aquireLog
public java.lang.Object aquireLog()
createByteBuffer
public ComputeByteBuffer createByteBuffer()
createKernel
public Kernel createKernel(java.lang.String filename,
java.lang.String kernelname,
java.lang.String options)
throws java.io.IOException
- Throws:
java.io.IOException
createSharedBuffer
public SharedBuffer createSharedBuffer(ComputeByteBuffer computeByteBuffer,
long flags)
finish
public void finish()
getContext
protected JOCLContext getContext(int id)
getDeviceList
public java.util.AbstractList<Device> getDeviceList()
getFilter
public JOCLDeviceFilter getFilter()
getLog
public java.lang.String getLog()
getPrimaryDevice
public Device getPrimaryDevice()
hasBigEndian
public boolean hasBigEndian()
hasLittleEndian
public boolean hasLittleEndian()
valid
public boolean valid()