add hip.h
This commit is contained in:
6
src/collective/device_communicator.hip.h
Normal file
6
src/collective/device_communicator.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2022 XGBoost contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "device_communicator.cuh"
|
||||
6
src/collective/device_communicator_adapter.hip.h
Normal file
6
src/collective/device_communicator_adapter.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2022 XGBoost contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "device_communicator_adapter.cuh"
|
||||
6
src/collective/nccl_device_communicator.hip.h
Normal file
6
src/collective/nccl_device_communicator.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2022 XGBoost contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "nccl_device_communicator.cuh"
|
||||
6
src/common/algorithm.hip.h
Normal file
6
src/common/algorithm.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2022-2023 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "algorithm.cuh" // Span,byte
|
||||
6
src/common/cuda_context.hip.h
Normal file
6
src/common/cuda_context.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2022 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "cuda_context.cuh"
|
||||
6
src/common/deterministic.hip.h
Normal file
6
src/common/deterministic.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2020-2023 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "deterministic.cuh" // XGBOOST_DEVICE
|
||||
9
src/common/hist_util.hip.h
Normal file
9
src/common/hist_util.hip.h
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright 2020-2023 by XGBoost contributors
|
||||
*
|
||||
* \brief Front end and utilities for GPU based sketching. Works on sliding window
|
||||
* instead of stream.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "hist_util.cuh"
|
||||
6
src/common/linalg_op.hip.h
Normal file
6
src/common/linalg_op.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2021-2022 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "linalg_op.cuh"
|
||||
3
src/common/quantile.hip.h
Normal file
3
src/common/quantile.hip.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantile.cuh"
|
||||
6
src/common/ranking_utils.hip.h
Normal file
6
src/common/ranking_utils.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2023 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "ranking_utils.cuh" // for Span
|
||||
6
src/common/stats.hip.h
Normal file
6
src/common/stats.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2022-2023 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "stats.cuh" // Span
|
||||
6
src/common/threading_utils.hip.h
Normal file
6
src/common/threading_utils.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2021-2023 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "threading_utils.cuh" // Span
|
||||
7
src/data/device_adapter.hip.h
Normal file
7
src/data/device_adapter.hip.h
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Copyright 2019-2023 by XGBoost Contributors
|
||||
* \file device_adapter.cuh
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "device_adapter.cuh"
|
||||
6
src/data/ellpack_page.hip.h
Normal file
6
src/data/ellpack_page.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2019 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "ellpack_page.cuh"
|
||||
6
src/data/proxy_dmatrix.hip.h
Normal file
6
src/data/proxy_dmatrix.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2021-2023 XGBoost contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "proxy_dmatrix.cuh"
|
||||
7
src/data/simple_dmatrix.hip.h
Normal file
7
src/data/simple_dmatrix.hip.h
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Copyright 2019-2023 by XGBoost Contributors
|
||||
* \file simple_dmatrix.cuh
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "simple_dmatrix.cuh" // for HasInfInData
|
||||
6
src/objective/lambdarank_obj.hip.h
Normal file
6
src/objective/lambdarank_obj.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright 2023 XGBoost contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "lambdarank_obj.cuh" // for Span
|
||||
8
src/tree/constraints.hip.h
Normal file
8
src/tree/constraints.hip.h
Normal file
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* Copyright 2019 XGBoost contributors
|
||||
*
|
||||
* \file Various constraints used in GPU_Hist.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "constraints.cuh"
|
||||
6
src/tree/gpu_hist/evaluate_splits.hip.h
Normal file
6
src/tree/gpu_hist/evaluate_splits.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2020 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "evaluate_splits.cuh"
|
||||
6
src/tree/gpu_hist/expand_entry.hip.h
Normal file
6
src/tree/gpu_hist/expand_entry.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2020 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "expand_entry.cuh"
|
||||
7
src/tree/gpu_hist/feature_groups.hip.h
Normal file
7
src/tree/gpu_hist/feature_groups.hip.h
Normal file
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Copyright 2020 by XGBoost Contributors
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "feature_groups.cuh"
|
||||
6
src/tree/gpu_hist/gradient_based_sampler.hip.h
Normal file
6
src/tree/gpu_hist/gradient_based_sampler.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2019 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "gradient_based_sampler.cuh"
|
||||
6
src/tree/gpu_hist/histogram.hip.h
Normal file
6
src/tree/gpu_hist/histogram.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2020-2021 by XGBoost Contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "histogram.cuh"
|
||||
6
src/tree/gpu_hist/row_partitioner.hip.h
Normal file
6
src/tree/gpu_hist/row_partitioner.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2017-2022 XGBoost contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "row_partitioner.cuh"
|
||||
6
src/tree/updater_gpu_common.hip.h
Normal file
6
src/tree/updater_gpu_common.hip.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright 2017-2019 XGBoost contributors
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "updater_gpu_common.cuh"
|
||||
Reference in New Issue
Block a user