summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-12 20:24:26 +0200
committerMichael Bien <[email protected]>2010-04-12 20:24:26 +0200
commit7680472b21ec1e2deacb49addae65c820a2e2a4d (patch)
tree9311bf506823533c2c642d4f1dcbe6421db07b64 /src/com/mbien/opencl
parent3cebb7e23ea4ee5e982e10a4774c786d91487749 (diff)
fixed severe typo in putMarker() (command queue id was not used).
Diffstat (limited to 'src/com/mbien/opencl')
-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);
}