-
Notifications
You must be signed in to change notification settings - Fork 62
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
Polish event dispatch #2434
Polish event dispatch #2434
Conversation
…e' into perf/better-sorting-in-event-queue
Reason: STL distributions are platform dependent, thus cause different results on AClang ./. GCC+Clang
arbor/backends/event_stream_base.hpp
Outdated
} | ||
|
||
// TODO parallelise over streams, however, need a proper testcase/benchmark. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have an issue for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make one, it's a very open ended project, though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example/brunel/brunel.cpp
Outdated
while(m) { | ||
cell_gid_type val = dis(gen); | ||
// simple, compiler independent int in range |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is just an example model, I guess it's fine. But there might be a bias introduced by this approach (see here). So adding a warning note as a comment would be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, fixed.
Re-factor event dispatch, making it slightly faster.
Builds on #2433
Closes #2431