finished gradient_based_sampler.cu

This commit is contained in:
amdsc21 2023-03-09 22:26:08 +01:00
parent df42dd2c53
commit 495816f694
2 changed files with 9 additions and 0 deletions

View File

@ -6,7 +6,12 @@
#include <xgboost/data.h> #include <xgboost/data.h>
#include <xgboost/span.h> #include <xgboost/span.h>
#if defined(XGBOOST_USE_CUDA)
#include "../../common/device_helpers.cuh" #include "../../common/device_helpers.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../common/device_helpers.hip.h"
#endif
#include "../../data/ellpack_page.cuh" #include "../../data/ellpack_page.cuh"
namespace xgboost { namespace xgboost {

View File

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