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
WIP parallel is_heap #1888
WIP parallel is_heap #1888
Conversation
Two comments:
|
@hkaiser how can I access the inspection report for the recent build? |
@Syntaf It's under 'Artifacts' on the cirleci webpage associated with the build (you need to be logged in to see it): |
Hey Grant , Have you thought about changing the way you partition the heap? Since you already know its a binary tree you could maybe just build subtrees from it ( using arithmetics on the Array indices of The Elements )and use those subtrees to Call std::is_heap on. Then it would obviously Depend on how efficient and fast that subpartitioning would go thru ... but if the heap was big enough the overhead of onetime subpartitioning might still be outweight by the benefit of the parallel Execution Afterwards. Cheers, Arne |
@Syntaf Here is a paper outlining what they did for the gcc parallel stl: http://drobilla.net/papers/Parallel_C++_STL_Heap_Building.pdf |
@hkaiser Awesome article! thanks for the link. I read through it am working on developing a level parallelism based algorithm. I've got a very simple version of parallel make_heap working(albeit a bit ugly) and am working on improving it so I can move it into an |
superseded by #1914 |
Work in progress of parallel is_heap. Currently passing tests.
Probably not ready to merge yet, but code review is appreciated. Forgot not to commit that annoying cmake_variables file again gah