Interface SingleKernelFitnessDescriptor
- All Known Implementing Classes:
ImmutableSingleKernelFitnessDescriptor
@Immutable
public interface SingleKernelFitnessDescriptor
Describes all the necessary information to execute an OpenCL kernel
As we may execute across multiple GPUs, may of these are computed at runtime and may vary from GPU to GPU as their specs may differ
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Association of kernel argument index and a data loaderComputer for the kernel execution context (ex: globak work size)Name of the kernel to executeAssociation of kernel argument index and a local memory allocatorAssociation of kernel argument index and a result allocatorAssociation of kernel argument index and a static data loader
-
Method Details
-
kernelName
String kernelName()Name of the kernel to execute- Returns:
-
kernelExecutionContextComputer
KernelExecutionContextComputer kernelExecutionContextComputer()Computer for the kernel execution context (ex: globak work size)- Returns:
-
staticDataLoaders
Map<Integer,StaticDataLoader> staticDataLoaders()Association of kernel argument index and a static data loader- Returns:
-
dataLoaders
Map<Integer,DataLoader> dataLoaders()Association of kernel argument index and a data loader- Returns:
-
localMemoryAllocators
Map<Integer,LocalMemoryAllocator> localMemoryAllocators()Association of kernel argument index and a local memory allocator- Returns:
-
resultAllocators
Map<Integer,ResultAllocator> resultAllocators()Association of kernel argument index and a result allocator- Returns:
-
builder
-