fix lambdarank_obj

This commit is contained in:
amdsc21 2023-05-02 21:06:22 +02:00
parent b324d51f14
commit b066accad6
3 changed files with 0 additions and 1034 deletions

View File

@ -1,17 +0,0 @@
/*!
* Copyright 2019 XGBoost contributors
*/
// Dummy file to keep the CUDA conditional compile trick.
#include <dmlc/registry.h>
namespace xgboost {
namespace obj {
DMLC_REGISTRY_FILE_TAG(rank_obj);
} // namespace obj
} // namespace xgboost
#if !defined(XGBOOST_USE_CUDA) && !defined(XGBOOST_USE_HIP)
#include "rank_obj.cu"
#endif // XGBOOST_USE_CUDA && XGBOOST_USE_HIP

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +0,0 @@
#if defined(XGBOOST_USE_HIP)
#include "rank_obj.cu"
#endif