Package org.jocl
Interface PrintfCallbackFunction
-
public interface PrintfCallbackFunction
Emulation of a function pointer that may be passed to theCL.clSetPrintfCallback(cl_context, PrintfCallbackFunction, Object)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
function(cl_context context, int printf_data_len, java.lang.String printf_data_ptr, java.lang.Object user_data)
The function that will be called
-
-
-
Method Detail
-
function
void function(cl_context context, int printf_data_len, java.lang.String printf_data_ptr, java.lang.Object user_data)
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
-
-