Interface CLProgram

All Known Implementing Classes:
CompiledCLProgram

public interface CLProgram
A CL program, which links multiple source files together
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<com.jogamp.opencl.CLDevice,byte[]>
    Gets compiled binaries of CLProgram.
    com.jogamp.opencl.CLKernel
    Gets kernel from CLProgram
  • Method Details

    • getKernel

      com.jogamp.opencl.CLKernel getKernel(String key)
      Gets kernel from CLProgram
      Parameters:
      key - name of the kernel method
      Returns:
      kernel to be executed
    • getBinaries

      Map<com.jogamp.opencl.CLDevice,byte[]> getBinaries()
      Gets compiled binaries of CLProgram. It is faster to recompile binary for new context than to compile the program from scratch.
      Returns:
      compiled binaries