Medial Code Documentation
|
Copyright 2015-2023 by XGBoost Contributors. More...
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <sstream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "xgboost/base.h"
#include "xgboost/logging.h"
Go to the source code of this file.
Data Structures | |
class | xgboost::common::Range |
class | xgboost::common::Range::Iterator |
Namespaces | |
namespace | xgboost |
namespace of xgboost | |
namespace | xgboost::common |
Copyright 2017-2023, XGBoost Contributors. | |
Macros | |
#define | WITH_CUDA() false |
Functions | |
std::vector< std::string > | xgboost::common::Split (const std::string &s, char delim) |
Split a string by delimiter. | |
void | xgboost::common::EscapeU8 (std::string const &string, std::string *p_buffer) |
template<typename T > | |
XGBOOST_DEVICE T | xgboost::common::Max (T a, T b) |
template<typename T1 , typename T2 > | |
XGBOOST_DEVICE T1 | xgboost::common::DivRoundUp (const T1 a, const T2 b) |
template<class T , std::size_t N, std::size_t... Idx> | |
constexpr auto | xgboost::common::detail::UnpackArr (std::array< T, N > &&arr, std::index_sequence< Idx... >) |
template<class T , std::size_t N> | |
constexpr auto | xgboost::common::UnpackArr (std::array< T, N > &&arr) |
int | xgboost::common::AllVisibleGPUs () |
void | xgboost::common::AssertGPUSupport () |
void | xgboost::common::AssertOneAPISupport () |
void | xgboost::common::SetDevice (std::int32_t device) |
template<typename Indexable > | |
XGBOOST_DEVICE size_t | xgboost::common::LastOf (size_t group, Indexable const &indptr) |
Last index of a group in a CSR style of index pointer. | |
Copyright 2015-2023 by XGBoost Contributors.
cuda pinned allocator for usage with thrust containers
Common utilities
Copyright 2022 by XGBoost Contributors