fix macro
This commit is contained in:
parent
22525c002a
commit
e74b3bbf3c
@ -24,6 +24,12 @@
|
|||||||
#include "xgboost/logging.h" // for CHECK
|
#include "xgboost/logging.h" // for CHECK
|
||||||
#include "xgboost/metric.h"
|
#include "xgboost/metric.h"
|
||||||
|
|
||||||
|
#if defined(XGBOOST_USE_HIP)
|
||||||
|
#include <hipcub/hipcub.hpp>
|
||||||
|
|
||||||
|
namespace cub = hipcub;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace xgboost::metric {
|
namespace xgboost::metric {
|
||||||
// tag the this file, used by force static link later.
|
// tag the this file, used by force static link later.
|
||||||
DMLC_REGISTRY_FILE_TAG(rank_metric_gpu);
|
DMLC_REGISTRY_FILE_TAG(rank_metric_gpu);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user