-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current Event callback uses undefined behaviour #86
Comments
Can it be the reason for segfault in tests? (note that I commented out possibly erroneous tests for arrays). |
Yes that is entirely possible and probably my fault. I am going to look On Thu, 12 Nov 2015 07:13 Andrei Zhabinski [email protected] wrote:
|
It is pretty reproducible in Travis (40% of time, in other 60% error is not printed, but build fails, so it may also be caused by segfault). Though, currently I don't have access to a GPU-enabled computer, so cannot test it locally. Note 2 things:
|
Thanks, that error has gone now. However, I encounter another (minor) issue which might be related to even callbacks - see #92 . |
I learned today [1] that the solution I implemented for user callbacks in [2] is using undefined/illegal behaviour.
I am quite amazed that it worked as long as it did...
I am not quite sure how to solve that problem without reimplementing
Base.SingleAsyncWork
since we can't pass alongevt_id::CL_event, status::CL_int
.@jakebolewski Any ideas?
[1] https://groups.google.com/forum/#!topic/julia-dev/9J1GYfCyVpE
[2]
OpenCL.jl/src/event.jl
Lines 97 to 106 in f529546
The text was updated successfully, but these errors were encountered: