Package org.lwjgl.opencl
Interface CLSVMFreeCallbackI
-
- All Superinterfaces:
- org.lwjgl.system.CallbackI, org.lwjgl.system.CallbackI.V, org.lwjgl.system.Pointer
- All Known Implementing Classes:
- CLSVMFreeCallback
@FunctionalInterface public interface CLSVMFreeCallbackI extends org.lwjgl.system.CallbackI.VInstances of this interface may be passed to theEnqueueSVMFreemethod.Type
void (*) ( cl_command_queue queue, cl_uint num_svm_pointers, void **svm_pointers, void *user_data )
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringSIGNATURE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default voidcallback(long args)default java.lang.StringgetSignature()voidinvoke(long queue, int num_svm_pointers, long svm_pointers, long user_data)Will be called to free shared virtual memory pointers.
-
-
-
Method Detail
-
getSignature
default java.lang.String getSignature()
- Specified by:
getSignaturein interfaceorg.lwjgl.system.CallbackI
-
callback
default void callback(long args)
- Specified by:
callbackin interfaceorg.lwjgl.system.CallbackI.V
-
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
-
-