From 843fdde61b33709ec95e2e2cbb7b65f20eb2fbec Mon Sep 17 00:00:00 2001 From: amdsc21 <96135754+amdsc21@users.noreply.github.com> Date: Tue, 11 Apr 2023 20:03:25 +0200 Subject: [PATCH] sync Apr 11 2023 --- src/objective/lambdarank_obj.hip | 4 ++++ tests/cpp/objective/test_lambdarank_obj.hip | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 src/objective/lambdarank_obj.hip create mode 100644 tests/cpp/objective/test_lambdarank_obj.hip 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