namespace to reduce code

This commit is contained in:
Hui Liu
2023-10-27 10:51:32 -07:00
parent 4302200a33
commit 6762230d9a
26 changed files with 14 additions and 136 deletions

View File

@@ -25,12 +25,6 @@
#include "../common/device_helpers.cuh"
#endif // XGBOOST_USE_CUDA || XGBOOST_USE_HIP
#if defined(XGBOOST_USE_HIP)
namespace thrust {
namespace cuda = thrust::hip;
}
#endif
using AFTParam = xgboost::common::AFTParam;
using ProbabilityDistributionType = xgboost::common::ProbabilityDistributionType;
template <typename Distribution>