diff --git a/src/objective/lambdarank_obj.hip b/src/objective/lambdarank_obj.hip new file mode 100644 index 000000000..a99255fdd --- /dev/null +++ b/src/objective/lambdarank_obj.hip @@ -0,0 +1,4 @@ + +#if defined(XGBOOST_USE_HIP) +#include "lambdarank_obj.cu" +#endif diff --git a/tests/cpp/objective/test_lambdarank_obj.hip b/tests/cpp/objective/test_lambdarank_obj.hip new file mode 100644 index 000000000..0d1922b3a --- /dev/null +++ b/tests/cpp/objective/test_lambdarank_obj.hip @@ -0,0 +1,4 @@ + +#if defined(XGBOOST_USE_HIP) +#include "test_lambdarank_obj.cu" +#endif