Module gpuFlux

Class JOCLDevice

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

public class JOCLDevice extends Object
  • Method Details

    • isLittleEndian

      public boolean isLittleEndian()
    • readBuffer

      public void readBuffer(JOCLBuffer buffer, int[] out)
    • readBuffer

      public void readBuffer(JOCLBuffer buffer, byte[] out)
    • finalize

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

      public void finish()
    • executeKernel

      public void executeKernel(JOCLKernel joclKernel, int stream_size)
    • executeKernel

      public void executeKernel(JOCLKernel kernel, int n, org.jocl.cl_event event)
    • getName

      public String getName()
    • isLittleEndian

      public static boolean isLittleEndian(org.jocl.cl_device_id device)
    • getDeviceType

      public static long getDeviceType(org.jocl.cl_device_id device)
    • getByteOrder

      public ByteOrder getByteOrder()
    • getClDevice

      public org.jocl.cl_device_id getClDevice()
    • getExtensions

      public String getExtensions()
    • getExtensionList

      public String[] getExtensionList()
    • getVendor

      public String getVendor()
    • getVersion

      public String getVersion()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • deviceTypeToString

      public String deviceTypeToString(long type)
    • getDeviceType

      public long getDeviceType()
    • getPlatform

      public static org.jocl.cl_platform_id getPlatform(org.jocl.cl_device_id device_id)
    • getDevices

      public static org.jocl.cl_device_id[] getDevices(org.jocl.cl_platform_id platform_id)
    • supportsExtensions

      public static boolean supportsExtensions(org.jocl.cl_device_id device_id, String[] extensions)
    • getIdentifier

      public String getIdentifier()
    • getIdentifier

      public static String getIdentifier(org.jocl.cl_device_id program_device)