fix lambdarank_obj
This commit is contained in:
parent
b324d51f14
commit
b066accad6
@ -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
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "rank_obj.cu"
|
|
||||||
#endif
|
|
||||||
Loading…
x
Reference in New Issue
Block a user