You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaCL: fixes / optimized event callbacks (but broke API: CLEvent.EventCallback now only takes the completion status as argument, not the event anymore)
Copy file name to clipboardExpand all lines: Core/src/main/velocity/com/nativelibs4java/opencl/CLEvent.java
+31-17Lines changed: 31 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
importcom.nativelibs4java.util.EnumValue;
12
12
importcom.nativelibs4java.util.EnumValues;
13
13
importorg.bridj.*;
14
+
importorg.bridj.ann.Ptr;
14
15
importstaticorg.bridj.Pointer.*;
15
16
16
17
/**
@@ -33,18 +34,25 @@ public class CLEvent extends CLAbstractEntity {
33
34
/**
34
35
* Pass this to special value to any method that expects a variable number of events to wait for and that returns an event, to completely avoid returning the completion event (will return null instead of the event).
0 commit comments