xgboost
Classes | Namespaces | Typedefs | Functions
context.h File Reference
#include <xgboost/base.h>
#include <xgboost/logging.h>
#include <xgboost/parameter.h>
#include <cstdint>
#include <memory>
#include <random>
#include <string>
#include <type_traits>
Include dependency graph for context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  xgboost::DeviceSym
 
struct  xgboost::DeviceOrd
 A type for device ordinal. The type is packed into 32-bit for efficient use in viewing types like linalg::TensorView. More...
 
struct  xgboost::Context
 Runtime context for XGBoost. Contains information like threads and device. More...
 

Namespaces

 xgboost
 Learner interface that integrates objective, gbm and evaluation together. This is the user facing XGBoost training module.
 

Typedefs

using xgboost::RandomEngine = std::mt19937
 Define mt19937 as default type Random Engine. More...
 

Functions

std::ostream & xgboost::operator<< (std::ostream &os, DeviceOrd ord)
 

Detailed Description

Copyright 2014-2026, XGBoost Contributors