|
| std::vector< std::string > | xgboost::common::Split (const std::string &s, char delim) |
| | Split a string by delimiter. More...
|
| |
| template<typename T > |
| XGBOOST_DEVICE T | xgboost::common::Max (T a, T b) |
| |
| template<typename T > |
| std::string | xgboost::common::ToString (const T &data) |
| |
| 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) |
| |
| template<typename Fn > |
| auto | xgboost::common::MakeIndexTransformIter (Fn &&fn) |
| |
| int | xgboost::common::AllVisibleGPUs () |
| |
| void | xgboost::common::AssertGPUSupport () |
| |
| void | xgboost::common::AssertOneAPISupport () |
| |
| template<typename Idx , typename Container , typename V = typename Container::value_type, typename Comp = std::less<V>> |
| std::vector< Idx > | xgboost::common::ArgSort (Container const &array, Comp comp=std::less< V >{}) |
| |
Common utilities.
Copyright 2015-2018 by Contributors