21 #ifndef RAJA_ThreadUtils_CPU_HPP
22 #define RAJA_ThreadUtils_CPU_HPP
24 #include "RAJA/config.hpp"
27 #if defined(RAJA_ENABLE_OPENMP)
42 template<
typename ThreadPolicy = RAJA::detail::active_auto_thread>
45 return RAJA::get_max_threads<ThreadPolicy>();
Definition: AlignedRangeIndexSetBuilders.cpp:35
RAJA_INLINE int getMaxOMPThreadsCPU()
Definition: ThreadUtils_CPU.hpp:43
RAJA header file defining thread operations.
RAJA header file defining OpenMP thread operations.
RAJA header file defining sequential thread operations.