#include <common.h>
◆ GpuIdType
◆ GPUSet()
xgboost::GPUSet::GPUSet |
( |
int |
start = 0 , |
|
|
int |
ndevices = 0 |
|
) |
| |
|
inlineexplicit |
◆ All()
n_gpus and num_rows both are upper bounds.
◆ AllVisible()
static GPUSet xgboost::GPUSet::AllVisible |
( |
| ) |
|
|
inlinestatic |
◆ begin()
◆ Contains()
bool xgboost::GPUSet::Contains |
( |
GpuIdType |
device | ) |
const |
|
inline |
◆ DeviceId()
GpuIdType xgboost::GPUSet::DeviceId |
( |
size_t |
index | ) |
const |
|
inline |
◆ Empty()
static GPUSet xgboost::GPUSet::Empty |
( |
| ) |
|
|
inlinestatic |
◆ end()
◆ Index()
size_t xgboost::GPUSet::Index |
( |
GpuIdType |
device | ) |
const |
|
inline |
◆ IsEmpty()
bool xgboost::GPUSet::IsEmpty |
( |
| ) |
const |
|
inline |
◆ Range()
◆ Size()
size_t xgboost::GPUSet::Size |
( |
| ) |
const |
|
inline |
◆ operator!=
◆ operator==
◆ kAll
constexpr GpuIdType xgboost::GPUSet::kAll = -1 |
|
static |
The documentation for this class was generated from the following file: