rm hip.h files

This commit is contained in:
Hui Liu
2023-10-30 21:54:00 -07:00
parent 6ec5cf26fc
commit 82d81bca94
58 changed files with 0 additions and 318 deletions

View File

@@ -6,11 +6,7 @@
#include <memory>
#include "../../../src/common/bitfield.h"
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/common/device_helpers.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/common/device_helpers.hip.h"
#endif
namespace xgboost {

View File

@@ -6,12 +6,7 @@
#include "../../../src/common/timer.h"
#include "../helpers.h"
#include <thrust/device_vector.h>
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/data/device_adapter.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/data/device_adapter.hip.h"
#endif
#include "test_array_interface.h"
using namespace xgboost; // NOLINT

View File

@@ -7,11 +7,7 @@
#include "../../../src/common/categorical.h"
#include "../../../src/common/hist_util.h"
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/data/ellpack_page.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/data/ellpack_page.hip.h"
#endif
#include "../../../src/data/ellpack_page.h"
#include "../../../src/tree/param.h" // TrainParam
#include "../helpers.h"

View File

@@ -5,11 +5,7 @@
#include <xgboost/data.h>
#include "../../../src/common/io.h" // for PrivateMmapConstStream, AlignedResourceReadStream...
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/data/ellpack_page.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/data/ellpack_page.hip.h"
#endif
#include "../../../src/data/sparse_page_source.h"
#include "../../../src/tree/param.h" // TrainParam
#include "../filesystem.h" // dmlc::TemporaryDirectory

View File

@@ -3,13 +3,8 @@
*/
#include <gtest/gtest.h>
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/data/device_adapter.cuh"
#include "../../../src/data/ellpack_page.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/data/device_adapter.hip.h"
#include "../../../src/data/ellpack_page.hip.h"
#endif
#include "../../../src/data/ellpack_page.h"
#include "../../../src/data/iterative_dmatrix.h"
#include "../../../src/tree/param.h" // TrainParam

View File

@@ -6,11 +6,7 @@
#include <xgboost/data.h>
#include <xgboost/json.h>
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/common/device_helpers.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/common/device_helpers.hip.h"
#endif
#include "test_array_interface.h"
#include "test_metainfo.h"

View File

@@ -7,11 +7,7 @@
#include <any> // for any_cast
#include <memory>
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/data/device_adapter.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/data/device_adapter.hip.h"
#endif
#include "../../../src/data/proxy_dmatrix.h"
#include "../helpers.h"

View File

@@ -4,11 +4,7 @@
#include <thrust/sequence.h>
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/data/device_adapter.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/data/device_adapter.hip.h"
#endif
#include "../helpers.h"
#include "test_array_interface.h"
#include "../../../src/data/array_interface.h"

View File

@@ -4,11 +4,7 @@
#include <xgboost/data.h> // for DMatrix
#include "../../../src/common/compressed_iterator.h"
#if defined(XGBOOST_USE_CUDA)
#include "../../../src/data/ellpack_page.cuh"
#elif defined(XGBOOST_USE_HIP)
#include "../../../src/data/ellpack_page.hip.h"
#endif
#include "../../../src/data/ellpack_page.h"
#include "../../../src/data/sparse_page_dmatrix.h"
#include "../../../src/tree/param.h" // TrainParam