Class PlatformUtils

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

public class PlatformUtils extends Object
  • Constructor Details

    • PlatformUtils

      private PlatformUtils()
  • Method Details

    • numPlatforms

      public static int numPlatforms()
    • platformIds

      public static List<org.jocl.cl_platform_id> platformIds(int numPlatforms)
    • getStringParameter

      public static String getStringParameter(org.jocl.cl_platform_id platformId, int platformName)
    • numDevices

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

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