#include <cstdint>
#include <string>
Go to the source code of this file.
Namespaces | |
metall | |
The top level of namespace of Metall. | |
metall::utility | |
Namespace for utility items. | |
metall::utility::omp | |
Namespace for utility items for OpenMP. | |
Macros | |
#define | OPEN_MP_PRAGMA_OPERATOR(x) _Pragma(#x) |
#define | OMP_DIRECTIVE(directive) |
Typedefs | |
using | metall::utility::omp::omp_sched_type = int |
Functions | |
std::string | metall::utility::omp::schedule_kind_name ([[maybe_unused]] const omp_sched_type kind) |
std::pair< omp_sched_type, int > | metall::utility::omp::get_schedule () |
int | metall::utility::omp::get_num_threads () noexcept |
int | metall::utility::omp::get_thread_num () noexcept |
void | metall::utility::omp::set_num_threads ([[maybe_unused]] const int n) noexcept |
#define OPEN_MP_PRAGMA_OPERATOR | ( | x | ) | _Pragma(#x) |
#define OMP_DIRECTIVE | ( | directive | ) |