18 std::shared_ptr<ltr::NDCGCache> p_cache);
22 std::shared_ptr<ltr::MAPCache> p_cache);
26 std::shared_ptr<ltr::PreCache> p_cache);
28#if !defined(XGBOOST_USE_CUDA)
31 std::shared_ptr<ltr::NDCGCache>) {
32 common::AssertGPUSupport();
38 std::shared_ptr<ltr::MAPCache>) {
39 common::AssertGPUSupport();
45 std::shared_ptr<ltr::PreCache>) {
46 common::AssertGPUSupport();
Copyright 2014-2023, XGBoost Contributors.
Runtime context for XGBoost.
Definition context.h:84