de.grogra.gpuflux.jocl
Class JOCLBuffer

java.lang.Object
  extended by de.grogra.gpuflux.jocl.JOCLBuffer

public class JOCLBuffer
extends java.lang.Object


Constructor Summary
JOCLBuffer(org.jocl.cl_mem buffer, int size)
           
 
Method Summary
 void finalize()
           
 org.jocl.cl_mem getBuffer()
           
static int getMemoryUsage()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOCLBuffer

public JOCLBuffer(org.jocl.cl_mem buffer,
                  int size)
Method Detail

finalize

public void finalize()
              throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

getBuffer

public org.jocl.cl_mem getBuffer()

getMemoryUsage

public static int getMemoryUsage()

getSize

public int getSize()