Bug 426 - CLCommandQueue.putMarker() doesn't work
Summary: CLCommandQueue.putMarker() doesn't work
Status: VERIFIED FIXED
Alias: None
Product: Jocl
Classification: JogAmp
Component: opencl (show other bugs)
Version: 1
Hardware: All all
: P1 major
Assignee: Michael Bien
URL:
Depends on:
Blocks:
 
Reported: 2010-11-08 00:03 CET by notzed
Modified: 2010-11-18 14:57 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description notzed 2010-11-08 00:03:33 CET
putMarker doesn't seem to work - after executing the CLEventList still has a length of 0, thus putWaitForEvents() fails.

I presume it's missing a call to CLEventList.createEvent() from looking at the other functions that generate events.

I tried updating using git - but i don't know if it actually updated it, or simply broke the build, but either way I an unable to compile the code to test it to generate a patch.
Comment 1 notzed 2010-11-08 02:00:29 CET
i managed to get it it to build, adding a createEvent invocation fixes it.
Comment 2 Michael Bien 2010-11-16 08:37:57 CET
Thanks for the report and the fix. I'll integrate it soon and add a regression test.
Comment 3 Michael Bien 2010-11-18 14:57:12 CET
fixed. will be available in next build.
https://github.com/mbien/jocl/commit/f2eb78947c79d09dbe19e56b03da4119013e8e0e