rm hip from src
This commit is contained in:
parent
8b75204fed
commit
b27f35e270
@ -1,6 +1,5 @@
|
|||||||
# Automatically set source group based on folder
|
# Automatically set source group based on folder
|
||||||
function(auto_source_group SOURCES)
|
function(auto_source_group SOURCES)
|
||||||
|
|
||||||
foreach(FILE ${SOURCES})
|
foreach(FILE ${SOURCES})
|
||||||
get_filename_component(PARENT_DIR "${FILE}" PATH)
|
get_filename_component(PARENT_DIR "${FILE}" PATH)
|
||||||
|
|
||||||
|
|||||||
@ -17,8 +17,9 @@ if(USE_CUDA)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (USE_HIP)
|
if (USE_HIP)
|
||||||
file(GLOB_RECURSE HIP_SOURCES *.hip *.hip.h)
|
file(GLOB_RECURSE HIP_SOURCES *.cu *.hip.h)
|
||||||
target_sources(objxgboost PRIVATE ${HIP_SOURCES})
|
target_sources(objxgboost PRIVATE ${HIP_SOURCES})
|
||||||
|
set_source_files_properties(${HIP_SOURCES} PROPERTIES LANGUAGE HIP)
|
||||||
endif (USE_HIP)
|
endif (USE_HIP)
|
||||||
|
|
||||||
if(PLUGIN_SYCL)
|
if(PLUGIN_SYCL)
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "c_api.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "coll.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "comm.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "communicator.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "nccl_device_communicator.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "common.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "hist_util.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "host_device_vector.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "numeric.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "quantile.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "random.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "ranking_utils.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "stats.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "context.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "array_interface.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "data.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "ellpack_page.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "ellpack_page_raw_format.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "ellpack_page_source.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "gradient_index.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "iterative_dmatrix.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "proxy_dmatrix.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "simple_dmatrix.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "sparse_page_dmatrix.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "sparse_page_source.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "gbtree.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "updater_gpu_coordinate.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "auc.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "elementwise_metric.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "multiclass_metric.cu"
|
|
||||||
#endif // defined(XGBOOST_USE_HIP)
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "rank_metric.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "survival_metric.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "adaptive.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "aft_obj.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "hinge.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "lambdarank_obj.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "multiclass_obj.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "quantile_obj.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "regression_obj.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "gpu_predictor.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "constraints.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "fit_stump.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "evaluate_splits.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "evaluator.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "feature_groups.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "gradient_based_sampler.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "histogram.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "row_partitioner.cu"
|
|
||||||
#endif
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
#if defined(XGBOOST_USE_HIP)
|
|
||||||
#include "updater_gpu_hist.cu"
|
|
||||||
#endif
|
|
||||||
4
tests/cpp/plugin/federated/test_federated_coll.hip
Normal file
4
tests/cpp/plugin/federated/test_federated_coll.hip
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
#ifdef XGBOOST_USE_HIP
|
||||||
|
#include "test_federated_coll.cu"
|
||||||
|
#endif
|
||||||
4
tests/cpp/plugin/federated/test_federated_comm_group.hip
Normal file
4
tests/cpp/plugin/federated/test_federated_comm_group.hip
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
#ifdef XGBOOST_USE_HIP
|
||||||
|
#include "test_federated_comm_group.cu"
|
||||||
|
#endif
|
||||||
Loading…
x
Reference in New Issue
Block a user