Interface CyCLProgram


public interface CyCLProgram
Interface to an OpenCL program, including methods to get an OpenCL kernel by name and to get build information after the program has been created (see CyCLDevice addProgram method).
  • Method Summary

    Modifier and Type
    Method
    Description
    getBuildInfoString(CyCLDevice device, int param_name)
    Return the build information string identified by the param_name
    Return the named kernel that's part of this program
    long
    Return the internal memory pointer to this program
    int
    getProgramBuildInfoInt(long cl_device_id, int param_name)
    Return the build information value identified by the param_name
    getProgramBuildInfoStringASCII(long cl_device_id, int param_name)
    Return the build information string identified by the param_name
  • Method Details

    • getProgram

      long getProgram()
      Return the internal memory pointer to this program
      Returns:
      program pointer
    • getKernel

      CyCLKernel getKernel(String name)
      Return the named kernel that's part of this program
      Parameters:
      name - kernel name
      Returns:
      the kernel
    • getBuildInfoString

      String getBuildInfoString(CyCLDevice device, int param_name)
      Return the build information string identified by the param_name
      Parameters:
      device - the device this was built on
      param_name - the parameter value to return
      Returns:
      the requested information as a string
    • getProgramBuildInfoStringASCII

      String getProgramBuildInfoStringASCII(long cl_device_id, int param_name)
      Return the build information string identified by the param_name
      Parameters:
      cl_device_id - the internal pointer to the device this was built on
      param_name - the parameter value to return
      Returns:
      the requested information as a string
    • getProgramBuildInfoInt

      int getProgramBuildInfoInt(long cl_device_id, int param_name)
      Return the build information value identified by the param_name
      Parameters:
      cl_device_id - the internal pointer to the device this was built on
      param_name - the parameter value to return
      Returns:
      the requested information as a string