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 TypeMethodDescriptionvoid
function
(cl_context context, int printf_data_len, String printf_data_ptr, Object user_data) The function that will be called
-
Method Details
-
function
The function that will be called- Parameters:
context
- The contextprintf_data_len
- The length of the printf dataprintf_data_ptr
- The printf datauser_data
- The user data
-