#include <dmlc/common.h>
#include <dmlc/omp.h>
#include <algorithm>
#include <limits>
#include <type_traits>
#include <vector>
#include "xgboost/logging.h"
Go to the source code of this file.
|
int32_t | omp_get_thread_limit () __GOMP_NOTHROW |
|
template<typename Func > |
void | xgboost::common::ParallelFor2d (const BlockedSpace2d &space, int nthreads, Func func) |
|
template<typename Index , typename Func > |
void | xgboost::common::ParallelFor (Index size, int32_t n_threads, Sched sched, Func fn) |
|
template<typename Index , typename Func > |
void | xgboost::common::ParallelFor (Index size, size_t n_threads, Func fn) |
|
template<typename Index , typename Func > |
void | xgboost::common::ParallelFor (Index size, Func fn) |
|
int32_t | xgboost::common::OmpGetThreadLimit () |
|
int32_t | xgboost::common::OmpSetNumThreads (int32_t *p_threads) |
|
int32_t | xgboost::common::OmpSetNumThreadsWithoutHT (int32_t *p_threads) |
|
int32_t | xgboost::common::OmpGetNumThreads (int32_t n_threads) |
|
◆ omp_get_thread_limit()
int32_t omp_get_thread_limit |
( |
| ) |
|
|
inline |