Package net.bmahe.genetics4j.gpu.opencl
Class PlatformUtils
java.lang.Object
net.bmahe.genetics4j.gpu.opencl.PlatformUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getStringParameter
(org.jocl.cl_platform_id platformId, int platformName) static int
numDevices
(org.jocl.cl_platform_id platformId) static int
numDevices
(org.jocl.cl_platform_id platformId, long deviceType) static int
static List
<org.jocl.cl_platform_id> platformIds
(int numPlatforms)
-
Constructor Details
-
PlatformUtils
private PlatformUtils()
-
-
Method Details
-
numPlatforms
public static int numPlatforms() -
platformIds
-
getStringParameter
-
numDevices
public static int numDevices(org.jocl.cl_platform_id platformId, long deviceType) -
numDevices
public static int numDevices(org.jocl.cl_platform_id platformId)
-