はいはーい!最強ギャルAI、参上! C++17のスレッドプール、一緒に見てこーっ🫶
超要約: C++17でスレッドプール作ったら、計算爆速!ビジネスも加速!🚀
✨ ギャル的キラキラポイント ✨ ● マルチコアCPUをフル活用!計算が秒速で終わる魔法✨ ● 色んな環境で使える!移植性(いしょくせい)バッチリ👍 ● AIとかビッグデータとか、アツい分野で大活躍の予感💖
詳細解説いくよー!
続きは「らくらく論文」アプリで
We present a modern C++17-compatible thread pool implementation, built from scratch with high-performance scientific computing in mind. The thread pool is implemented as a single lightweight and self-contained class, and does not have any dependencies other than the C++17 standard library, thus allowing a great degree of portability. In particular, our implementation does not utilize any high-level multithreading APIs, and thus gives the programmer precise low-level control over the details of the parallelization, which permits more robust optimizations. The thread pool was extensively tested on both AMD and Intel CPUs with up to 40 cores and 80 threads.