Multi-threading benchmarking issues
I just recently wrote an answer to a similar question SO: Eigen library with C++11 multithreading. As I’m interested in this topic too and already had working code at hand, I adapted that sample to OP’s task of matrix multiplication: test-multi-threading-matrix.cc: #include <cassert> #include <cstdint> #include <cstdlib> #include <algorithm> #include <chrono> #include <iomanip> #include <iostream> … Read more