Interface CyCLKernel


public interface CyCLKernel
This provides an interface to OpenCL Kernels
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(long[] dimsGlobal, long[] dimsLocal, Object... args)
    Execute this kernel
    void
    executeWithOffset(long[] dimsGlobal, long[] dimsLocal, long[] globalOffset, Object... args)
    Execute this kernel with offsets
    long
    Return the internal pointer to this kernel
    int
    getKernelInfoInt(int param_name)
    Return kernel information as an int
    long
    getKernelInfoPointer(int param_name)
    Return kernel information as a memory pointer
    getKernelInfoStringUTF8(int param_name)
    Return kernel information as a string
  • Method Details

    • getKernel

      long getKernel()
      Return the internal pointer to this kernel
      Returns:
      the internal pointer to the kernel
    • execute

      void execute(long[] dimsGlobal, long[] dimsLocal, Object... args)
      Execute this kernel
      Parameters:
      dimsGlobal - The dimension of the global variables
      dimsLocal - The dimension of the local variables
      args - The args for the kernel
    • executeWithOffset

      void executeWithOffset(long[] dimsGlobal, long[] dimsLocal, long[] globalOffset, Object... args)
      Execute this kernel with offsets
      Parameters:
      dimsGlobal - The dimension of the global variables
      dimsLocal - The dimension of the local variables
      globalOffset - The offsets for the global variables
      args - The args for the kernel
    • getKernelInfoInt

      int getKernelInfoInt(int param_name)
      Return kernel information as an int
      Parameters:
      param_name - the parameter to return
      Returns:
      the parameter value
    • getKernelInfoPointer

      long getKernelInfoPointer(int param_name)
      Return kernel information as a memory pointer
      Parameters:
      param_name - the parameter to return
      Returns:
      the parameter value
    • getKernelInfoStringUTF8

      String getKernelInfoStringUTF8(int param_name)
      Return kernel information as a string
      Parameters:
      param_name - the parameter to return
      Returns:
      the parameter value