summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/mbien/opencl/CLCommandQueue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLCommandQueue.java b/src/com/mbien/opencl/CLCommandQueue.java
index 9deeaad9..ebb37dcf 100644
--- a/src/com/mbien/opencl/CLCommandQueue.java
+++ b/src/com/mbien/opencl/CLCommandQueue.java
@@ -1064,7 +1064,7 @@ public class CLCommandQueue extends CLObject implements CLResource {
* Calls {@native clEnqueueMarker}.
*/
public CLCommandQueue putMarker(CLEventList events) {
- int ret = cl.clEnqueueMarker(CL_INT_MIN, events.IDs);
+ int ret = cl.clEnqueueMarker(ID, events.IDs);
if(ret != CL_SUCCESS) {
throw newException(ret, "can not enqueue marker " + events);
}