13#ifndef RESPOND_EIGEN_CONFIG_HPP_
14#define RESPOND_EIGEN_CONFIG_HPP_
24inline std::mutex &GetEigenExecutionMutex() {
25 static std::mutex mutex;
30inline void SetEigenThreads(
unsigned int thread_count) {
31 std::lock_guard<std::mutex> lock(GetEigenExecutionMutex());
32 Eigen::setNbThreads(thread_count);