Interface StageDescriptor
- All Known Implementing Classes:
ImmutableStageDescriptor
@Immutable
public interface StageDescriptor
Fully describes how to execute a specific stage with OpenCL
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StageDescriptor.Builder
builder()
Association of kernel argument index and a data loaderComputer for the kernel execution context (ex: globak work size)Kernel nameAssociation of kernel argument index and a local memory allocatorAssociation of static data to a kernel argument indexAssociation of kernel argument index and a result allocatorAssociation of the kernel argument used for a result of the previous stage to the kernel argument for this executionAssociation of the size of the data from the result of the previous stage to the kernel argument for this execution
-
Method Details
-
kernelName
String kernelName()Kernel name- Returns:
-
kernelExecutionContextComputer
KernelExecutionContextComputer kernelExecutionContextComputer()Computer for the kernel execution context (ex: globak work size)- 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:
-
reusePreviousResultAsArguments
Association of the kernel argument used for a result of the previous stage to the kernel argument for this execution- Returns:
-
reusePreviousResultSizeAsArguments
Association of the size of the data from the result of the previous stage to the kernel argument for this execution- Returns:
-
mapStaticDataAsArgument
Association of static data to a kernel argument index -
builder
-