4 ms·
That’s what I was wondering. Iiuc openmp uses work stealing and the spice readme talks about the inefficiency of that: https://github.com/judofyr/spice?tab=re
by marmaduke 2y ago
That’s what I was wondering. Iiuc openmp uses work stealing and the spice readme talks about the inefficiency of that:
https://github.com/judofyr/spice?tab=readme-ov-file#work-stealing-and-its-inefficiencies https://github.com/judofyr/spice?tab=readme-ov-file#work-ste...
so I’d be interested in seeing a benchmark.
- marmaduke 2y agoReading the implementation details kinda got me wanting to do a c11 threads based port.
- bee_rider 2y agoThanks. That’s some pretty clever stuff, with a nice intuitive description.
- jgtrosh 2y agoDoes OpenMP support work stealing? https://stackoverflow.com/a/36407220 https://stackoverflow.com/a/36407220 Answer: it's just an interface. Other implementations go as far as targetting GPU https://www.openmp.org/updates/openmp-accelerator-support-gpus/ https://www.openmp.org/updates/openmp-accelerator-support-gp... Could you implement OpenMP using Spice/Chili? Good question?