de.grogra.gpuflux.jocl.compute
Class SharedBuffer

java.lang.Object
  extended by de.grogra.gpuflux.jocl.compute.SharedBuffer

public class SharedBuffer
extends java.lang.Object


Constructor Summary
protected SharedBuffer(int size, ComputeContext context)
           
 
Method Summary
protected  JOCLBuffer getBuffer(int contextID, boolean littleEndian)
           
 ComputeContext getContext()
           
protected  void setContextBuffer(int i, JOCLBuffer joclLittleEndianBuffer, JOCLBuffer joclBigEndianBuffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedBuffer

protected SharedBuffer(int size,
                       ComputeContext context)
Method Detail

getBuffer

protected JOCLBuffer getBuffer(int contextID,
                               boolean littleEndian)

getContext

public ComputeContext getContext()

setContextBuffer

protected void setContextBuffer(int i,
                                JOCLBuffer joclLittleEndianBuffer,
                                JOCLBuffer joclBigEndianBuffer)