Module gpuFlux

Class JOCLBuffer

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

public class JOCLBuffer extends Object
  • Constructor Details

    • JOCLBuffer

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

    • getMemoryUsage

      public static int getMemoryUsage()
    • getSize

      public int getSize()
    • getBuffer

      public org.jocl.cl_mem getBuffer()
    • finalize

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