Class ResultExtractor
java.lang.Object
net.bmahe.genetics4j.gpu.spec.fitness.ResultExtractor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CLData
extractClData
(Device device, int argumentIndex) float[]
extractFloatArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex) byte[]
extractImageAsByteArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex, int width, int height, int numChannels, int channelSize) int[]
extractIntArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex) long[]
extractLongArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex)
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger -
resultData
-
-
Constructor Details
-
ResultExtractor
-
-
Method Details
-
extractClData
-
extractImageAsByteArray
public byte[] extractImageAsByteArray(OpenCLExecutionContext openCLExecutionContext, int argumentIndex, int width, int height, int numChannels, int channelSize) -
extractFloatArray
-
extractIntArray
-
extractLongArray
-