|
xgboost
|
#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.
Classes | |
| class | xgboost::common::Range1d |
| class | xgboost::common::BlockedSpace2d |
| struct | xgboost::common::Sched |
| class | xgboost::common::MemStackAllocator< T, MaxStackSize > |
| A C-style array with in-stack allocation. As long as the array is smaller than MaxStackSize, it will be allocated inside the stack. Otherwise, it will be heap-allocated. More... | |
Namespaces | |
| xgboost | |
| namespace of xgboost | |
| xgboost::common | |
Functions | |
| 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, int32_t n_threads, Func fn) |
| int32_t | xgboost::common::OmpGetThreadLimit () |
| int32_t | xgboost::common::GetCfsCPUCount () noexcept |
| int32_t | xgboost::common::OmpGetNumThreads (int32_t n_threads) |
|
inline |
Copyright 2019-2022 by XGBoost Contributors
1.8.17