Package org.jocl

Interface PrintfCallbackFunction


public interface PrintfCallbackFunction
Emulation of a function pointer that may be passed to the CL.clSetPrintfCallback(cl_context, PrintfCallbackFunction, Object) method.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    function(cl_context context, int printf_data_len, String printf_data_ptr, Object user_data)
    The function that will be called
  • Method Details

    • function

      void function(cl_context context, int printf_data_len, String printf_data_ptr, Object user_data)
      The function that will be called
      Parameters:
      context - The context
      printf_data_len - The length of the printf data
      printf_data_ptr - The printf data
      user_data - The user data