Uses of Interface
net.bmahe.genetics4j.gpu.opencl.OpenCLExecutionContext
Packages that use OpenCLExecutionContext
Package
Description
-
Uses of OpenCLExecutionContext in net.bmahe.genetics4j.gpu
Fields in net.bmahe.genetics4j.gpu with type parameters of type OpenCLExecutionContextModifier and TypeFieldDescription(package private) final List
<OpenCLExecutionContext> GPUFitnessEvaluator.clExecutionContexts
-
Uses of OpenCLExecutionContext in net.bmahe.genetics4j.gpu.opencl
Classes in net.bmahe.genetics4j.gpu.opencl that implement OpenCLExecutionContextMethods in net.bmahe.genetics4j.gpu.opencl with parameters of type OpenCLExecutionContextModifier and TypeMethodDescriptionImmutableOpenCLExecutionContext.copyOf
(OpenCLExecutionContext instance) Creates an immutable copy of aOpenCLExecutionContext
value.ImmutableOpenCLExecutionContext.Builder.from
(OpenCLExecutionContext instance) Fill a builder with attribute values from the providedOpenCLExecutionContext
instance. -
Uses of OpenCLExecutionContext in net.bmahe.genetics4j.gpu.spec.fitness
Methods in net.bmahe.genetics4j.gpu.spec.fitness with parameters of type OpenCLExecutionContextModifier and TypeMethodDescriptionvoid
MultiStageFitness.afterAllEvaluations
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService) void
OpenCLFitness.afterAllEvaluations
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService) Per-device cleanup hook called for each OpenCL execution context at the end.void
SingleKernelFitness.afterAllEvaluations
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService) void
MultiStageFitness.afterEvaluation
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) void
OpenCLFitness.afterEvaluation
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) Per-device cleanup hook called after each device partition evaluation.void
SingleKernelFitness.afterEvaluation
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) private void
MultiStageFitness.allocateLocalMemory
(OpenCLExecutionContext openCLExecutionContext, StageDescriptor stageDescriptor, long generation, List<Genotype> genotypes, KernelExecutionContext kernelExecutionContext) void
MultiStageFitness.beforeAllEvaluations
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService) void
OpenCLFitness.beforeAllEvaluations
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService) Per-device initialization hook called for each OpenCL execution context.void
SingleKernelFitness.beforeAllEvaluations
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService) void
OpenCLFitness.beforeEvaluation
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) Per-device preparation hook called before each device partition evaluation.void
SingleKernelFitness.beforeEvaluation
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) FitnessExtractor.compute
(OpenCLExecutionContext openCLExecutionContext, KernelExecutionContext kernelExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes, ResultExtractor resultExtractor) int
MultipleComputer.compute
(OpenCLExecutionContext openCLExecutionContext, KernelExecutionContext kernelExecutionContext, long generation, List<Genotype> genotypes) MultiStageFitness.compute
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) abstract CompletableFuture
<List<T>> OpenCLFitness.compute
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) Performs the actual fitness computation using OpenCL kernels on the GPU.SingleKernelFitness.compute
(OpenCLExecutionContext openCLExecutionContext, ExecutorService executorService, long generation, List<Genotype> genotypes) float[]
ResultExtractor.extractFloatArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex) Extracts floating-point data from OpenCL device memory as a float array.byte[]
ResultExtractor.extractImageAsByteArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex, int width, int height, int numChannels, int channelSize) Extracts image data from OpenCL device memory as a byte array.int[]
ResultExtractor.extractIntArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex) Extracts integer data from OpenCL device memory as an int array.long[]
ResultExtractor.extractLongArray
(OpenCLExecutionContext openCLExecutionContext, int argumentIndex) Extracts long integer data from OpenCL device memory as a long array.protected void
MultiStageFitness.loadData
(OpenCLExecutionContext openCLExecutionContext, StageDescriptor stageDescriptor, Map<Integer, CLData> data, long generation, List<Genotype> genotypes) protected void
MultiStageFitness.prepareStaticData
(OpenCLExecutionContext openCLExecutionContext, StageDescriptor stageDescriptor) -
Uses of OpenCLExecutionContext in net.bmahe.genetics4j.gpu.spec.fitness.cldata
Methods in net.bmahe.genetics4j.gpu.spec.fitness.cldata with parameters of type OpenCLExecutionContextModifier and TypeMethodDescriptionDataSupplier.get
(OpenCLExecutionContext openCLExecutionContext, long generation, List<Genotype> genotypes) DataLoader.load
(OpenCLExecutionContext openCLExecutionContext, long generation, List<Genotype> genotypes) Loads genotype data into OpenCL device memory for GPU processing.long
LocalMemoryAllocator.load
(OpenCLExecutionContext openCLExecutionContext, KernelExecutionContext kernelExecutionContext, long generation, List<Genotype> genotypes) ResultAllocator.load
(OpenCLExecutionContext openCLExecutionContext, KernelExecutionContext kernelExecutionContext, long generation, List<Genotype> genotypes) StaticDataLoader.load
(OpenCLExecutionContext openCLExecutionContext) -
Uses of OpenCLExecutionContext in net.bmahe.genetics4j.gpu.spec.fitness.kernelcontext
Methods in net.bmahe.genetics4j.gpu.spec.fitness.kernelcontext with parameters of type OpenCLExecutionContextModifier and TypeMethodDescriptionKernelExecutionContextComputer.compute
(OpenCLExecutionContext openCLExecutionContext, String kernelName, long generation, List<Genotype> genotypes)