Skip to content

use tnagler/tpool as work stealing backend #51

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

Merged
merged 4 commits into from
Nov 22, 2021
Merged

use tnagler/tpool as work stealing backend #51

merged 4 commits into from
Nov 22, 2021

Conversation

tnagler
Copy link
Owner

@tnagler tnagler commented Nov 13, 2021

No description provided.

tnagler and others added 4 commits November 13, 2021 18:27
* try locks on pop

* new tpool

* run less tests

* fix compiler warnings

* test runs :/

* compiler warning

* just pushing

* try own check

* tryfix

* meh

* only thread

* push10

* couts

* stupid

* more

* enable push

* dumdum

* now

* more

* more

* nowait

* no push lock

* waitk

* msgs

* stopped check

* cleanup

* other tests

* thread localized steals

* Rcout on wait

* no Rcout

* progress

* no pushreturn

* mtx name

* no pushreturn

* wait on destruct

* more progress

* more msgs

* time stamps

* fix

* no pushreturn

* away

* wtf

* run nothing

* detach on destruct

* fix

* destruct print

* more

* no print on wait

* time on destruct

* delete print

* more

* actually use multiple queues

* destruction order

* more order

* time print

* finish print

* fix

* no globals

* print too

* clear on stop

* fix

* parfor

* don't wait on join

* after cv

* before cv

* ptr to taskmanager

* don't stop on mngr dtor

* don't clear either

* reorder

* manually destroy cv

* wrap in pointer

* learned: windows hangs when destructing static cv

* no global instance in parallel for

* 5 test runs by default

* with print

* fix nBatches docs

* get future before push

* get after join

* copy function on push

* check future result

* leftover

* prints

* run 5x

* get future?

* get first

* no print

* run 10

* other OSs

* fix2

* bench pdfs on gitignore

* clean up prints

* other sync

* some cleanup

* finish line -> todo list

* more clean up

* more clean up

* even more

* update NEWS

* more clean up

* even more

* clean up unit tests

* pull tpool

* restrict to 10 runs
@tnagler tnagler merged commit 49bcd20 into main Nov 22, 2021
@tnagler tnagler deleted the tpool branch November 22, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant