xgboost
|
Common utilities. More...
#include <xgboost/base.h>
#include <xgboost/logging.h>
#include <exception>
#include <limits>
#include <type_traits>
#include <vector>
#include <string>
#include <sstream>
Go to the source code of this file.
Classes | |
class | xgboost::common::Range |
class | xgboost::common::Range::Iterator |
Namespaces | |
dh | |
xgboost | |
namespace of xgboost | |
xgboost::common | |
Macros | |
#define | WITH_CUDA() false |
Functions | |
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) |
int | xgboost::common::AllVisibleGPUs () |
void | xgboost::common::AssertGPUSupport () |
Common utilities.
Threading utilities.
Copyright 2015-2018 by Contributors
Copyright 2015-2019 by Contributors
#define WITH_CUDA | ( | ) | false |