Package org.lwjgl.opencl
Interface CLSVMFreeCallbackI
-
- All Superinterfaces:
- CallbackI, CallbackI.V, Pointer
- All Known Implementing Classes:
- CLSVMFreeCallback
@FunctionalInterface public interface CLSVMFreeCallbackI extends CallbackI.V
Instances of this interface may be passed to theEnqueueSVMFree
method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default long
address()
Returns the raw pointer address as along
value.default void
callback(long args)
Will be called by native code.void
invoke(long queue, int num_svm_pointers, long svm_pointers, long user_data)
Will be called to free shared virtual memory pointers.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:Pointer
Returns the raw pointer address as along
value.
-
callback
default void callback(long args)
Description copied from interface:CallbackI.V
Will be called by native code.- Specified by:
callback
in interfaceCallbackI.V
- Parameters:
args
- pointer to aDCArgs
iterator
-
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_pointers
arraysvm_pointers
- an array of shared virtual memory pointers to be freeduser_data
- the user-specified value that was passed when callingEnqueueSVMFree
-
-