Package org.lwjgl.opencl
Interface CLSVMFreeCallbackI
-
- All Superinterfaces:
org.lwjgl.system.CallbackI,org.lwjgl.system.Pointer
- All Known Implementing Classes:
CLSVMFreeCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CLSVMFreeCallbackI extends org.lwjgl.system.CallbackIInstances of this interface may be passed to theEnqueueSVMFreemethod.Type
void (*invoke(long, int, long, long)) ( cl_command_queue queue, cl_uint num_svm_pointers, void **svm_pointers, void *user_data )
-
-
Field Summary
Fields Modifier and Type Field Description static org.lwjgl.system.libffi.FFICIFCIF
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcallback(long ret, long args)default org.lwjgl.system.libffi.FFICIFgetCallInterface()voidinvoke(long queue, int num_svm_pointers, long svm_pointers, long user_data)Will be called to free shared virtual memory pointers.
-
-
-
Method Detail
-
getCallInterface
default org.lwjgl.system.libffi.FFICIF getCallInterface()
- Specified by:
getCallInterfacein interfaceorg.lwjgl.system.CallbackI
-
callback
default void callback(long ret, long args)- Specified by:
callbackin interfaceorg.lwjgl.system.CallbackI
-
invoke
void invoke(long queue, int num_svm_pointers, long svm_pointers, long user_data)Will be called to free shared virtual memory pointers.- Parameters:
queue- a valid host command-queuenum_svm_pointers- the number of pointers in thesvm_pointersarraysvm_pointers- an array of shared virtual memory pointers to be freeduser_data- the user-specified value that was passed when callingEnqueueSVMFree
-
-