Previous | Next --- Slide 31 of 64
Back to Lecture Thumbnails
l-henken

Does Cilk initialize N workers on the first spawn, or one worker for every spawn up until the Nth spawn? It seems better to amortize the initialization cost, but we mis-utilize resources if the spawns are sparse or few.

kayvonf

That would be an implementation detail, and to be honest we'd have to look at the implementation. I think both of your proposed implementations sound sane.

Please log in to leave a comment.