Interface StageDescriptor

All Known Implementing Classes:
ImmutableStageDescriptor

@Immutable public interface StageDescriptor
Fully describes how to execute a specific stage with OpenCL
  • 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

      Map<Integer,Integer> reusePreviousResultAsArguments()
      Association of the kernel argument used for a result of the previous stage to the kernel argument for this execution
      Returns:
    • reusePreviousResultSizeAsArguments

      Map<Integer,Integer> reusePreviousResultSizeAsArguments()
      Association of the size of the data from the result of the previous stage to the kernel argument for this execution
      Returns:
    • mapStaticDataAsArgument

      Map<String,Integer> mapStaticDataAsArgument()
      Association of static data to a kernel argument index
    • builder

      static StageDescriptor.Builder builder()