5 #ifndef __pinocchio_utils_openmp_hpp__ 6 #define __pinocchio_utils_openmp_hpp__ 20 if(
const char* env_p = std::getenv(
"OMP_NUM_THREADS"))
21 num_threads = atoi(env_p);
27 #endif // ifndef __pinocchio_utils_openmp_hpp__ int getOpenMPNumThreadsEnv()
Returns the number of thread defined by the environment variable OMP_NUM_THREADS. If this variable is...
Main pinocchio namespace.