This commit is contained in:
amdsc21
2023-03-11 03:47:23 +01:00
parent f64152bf97
commit b0dacc5a80
2 changed files with 3 additions and 3 deletions

View File

@@ -25,12 +25,12 @@ DECLARE_FIELD_ENUM_CLASS(xgboost::common::ProbabilityDistributionType);
namespace xgboost {
namespace common {
#ifndef __CUDACC__
#if !defined(__CUDACC__) && !defined(__HIP_PLATFORM_AMD__)
using std::log;
using std::fmax;
#endif // __CUDACC__
#endif // __CUDACC__ && __HIP_PLATFORM_AMD__
enum class CensoringType : uint8_t {
kUncensored, kRightCensored, kLeftCensored, kIntervalCensored