Class DeviceUtils

java.lang.Object
net.bmahe.genetics4j.gpu.opencl.DeviceUtils

public class DeviceUtils extends Object
  • Constructor Details

    • DeviceUtils

      private DeviceUtils()
  • Method Details

    • numDevices

      public static int numDevices(org.jocl.cl_platform_id platformId, long deviceType)
    • numDevices

      public static int numDevices(org.jocl.cl_platform_id platformId)
    • getDeviceIds

      public static List<org.jocl.cl_device_id> getDeviceIds(org.jocl.cl_platform_id platformId, int numDevices, long deviceType)
    • getDeviceIds

      public static List<org.jocl.cl_device_id> getDeviceIds(org.jocl.cl_platform_id platformId, int numDevices)
    • getDeviceInfoString

      public static String getDeviceInfoString(org.jocl.cl_device_id deviceId, int parameter)
    • getDeviceInfoLongArray

      public static long[] getDeviceInfoLongArray(org.jocl.cl_device_id deviceId, int parameter, int size)
    • getDeviceInfoLong

      public static long getDeviceInfoLong(org.jocl.cl_device_id deviceId, int parameter)
    • getDeviceInfoInt

      public static int getDeviceInfoInt(org.jocl.cl_device_id deviceId, int parameter)