SetEventCallback method.
void (*invoke) (
cl_event event,
cl_int event_command_exec_status,
void *user_data
)
| Modifier and Type | Method and Description |
|---|---|
| public default void | callback(long
a pointer to the memory used for the function's return value.
ret, long If the function is declared as returning Otherwise, the callback must fill the object to which this points, following the same special promotion behavior as
a vector of pointers to memory holding the arguments to the function args)Implements org. |
| public default FFICIF | getCallInterface()
Implements org. |
| public void | invoke(long
the event event, int represents the execution status of command for which this callback function is invoked. If the callback is called as the result of the command
associated with event being abnormally terminated, an appropriate error code for the error that caused the termination will be passed to
event_command_exec_status, long event_command_exec_status instead.the user-specified value that was passed when calling user_data)SetEventCallbackWill be called when the execution status of the command associated with |
| CIF | back to summary |
|---|---|
| public static final FFICIF CIF | |
| callback | back to summary |
|---|---|
| public default void callback(long ret, long args) Implements org. Doc from org. The Java method that will be called from native code when the native callback function is invoked.
| |
| getCallInterface | back to summary |
|---|---|
| public default FFICIF getCallInterface() Implements org. Doc from org. Returns the libffi Call Interface for this callback function. [INTERNAL API] | |
| invoke | back to summary |
|---|---|
| public void invoke(long event, int event_command_exec_status, long user_data) Will be called when the execution status of the command associated with
| |