xgboost
Public Member Functions | Public Attributes | List of all members
xgboost::ExtMemConfig Struct Reference

#include <data.h>

Collaboration diagram for xgboost::ExtMemConfig:
Collaboration graph

Public Member Functions

 ExtMemConfig ()=delete
 
 ExtMemConfig (std::string cache, bool on_host, float h_ratio, std::int64_t min_cache, float missing, std::int32_t n_threads)
 
ExtMemConfigSetParamsForTest (float _hw_decomp_ratio, bool _allow_decomp_fallback)
 

Public Attributes

std::string cache
 
bool on_host
 
float cache_host_ratio
 
std::int64_t min_cache_page_bytes
 
float missing
 
std::int32_t n_threads {0}
 
float hw_decomp_ratio {std::numeric_limits<float>::quiet_NaN()}
 
bool allow_decomp_fallback {false}
 

Constructor & Destructor Documentation

◆ ExtMemConfig() [1/2]

xgboost::ExtMemConfig::ExtMemConfig ( )
delete

◆ ExtMemConfig() [2/2]

xgboost::ExtMemConfig::ExtMemConfig ( std::string  cache,
bool  on_host,
float  h_ratio,
std::int64_t  min_cache,
float  missing,
std::int32_t  n_threads 
)
inline

Member Function Documentation

◆ SetParamsForTest()

ExtMemConfig& xgboost::ExtMemConfig::SetParamsForTest ( float  _hw_decomp_ratio,
bool  _allow_decomp_fallback 
)
inline

Member Data Documentation

◆ allow_decomp_fallback

bool xgboost::ExtMemConfig::allow_decomp_fallback {false}

◆ cache

std::string xgboost::ExtMemConfig::cache

◆ cache_host_ratio

float xgboost::ExtMemConfig::cache_host_ratio

◆ hw_decomp_ratio

float xgboost::ExtMemConfig::hw_decomp_ratio {std::numeric_limits<float>::quiet_NaN()}

◆ min_cache_page_bytes

std::int64_t xgboost::ExtMemConfig::min_cache_page_bytes

◆ missing

float xgboost::ExtMemConfig::missing

◆ n_threads

std::int32_t xgboost::ExtMemConfig::n_threads {0}

◆ on_host

bool xgboost::ExtMemConfig::on_host

The documentation for this struct was generated from the following file: