tensorflow/lite/kernels/eigen_support.cc
// Helper routine for updating the global Eigen thread count used for OpenMP.
Helper routine for updating the global Eigen thread count used for OpenMP.
Helper routine for updating the global Eigen thread count used for OpenMP .
void SetEigenNbThreads(int threads) {
#if defined(EIGEN_HAS_OPENMP)
  Eigen::setNbThreads(threads);
#endif  
}
void SetEigenNbThreads ( int threads ) { #if defined ( EIGEN_HAS_OPENMP ) Eigen :: setNbThreads ( threads ) ; #endif }
Helper routine for updating the global Eigen thread count used for OpenMP.
Helper routine for updating the global Eigen thread count used for OpenMP .
// The global Eigen thread count is only used when OpenMP is enabled. As this // call causes problems with tsan, make it only when OpenMP is available. // defined(EIGEN_HAS_OPENMP)