add hip to config
This commit is contained in:
parent
8d160a206e
commit
d0774a78e4
@ -32,7 +32,7 @@ namespace common {
|
|||||||
bool CheckNAN(double v) {
|
bool CheckNAN(double v) {
|
||||||
return ISNAN(v);
|
return ISNAN(v);
|
||||||
}
|
}
|
||||||
#if !defined(XGBOOST_USE_CUDA)
|
#if !defined(XGBOOST_USE_CUDA) && !defined(XGBOOST_USE_HIP)
|
||||||
double LogGamma(double v) {
|
double LogGamma(double v) {
|
||||||
return lgammafn(v);
|
return lgammafn(v);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,6 +15,10 @@ class BuildConfiguration: # pylint: disable=R0902
|
|||||||
use_cuda: bool = False
|
use_cuda: bool = False
|
||||||
# Whether to enable NCCL
|
# Whether to enable NCCL
|
||||||
use_nccl: bool = False
|
use_nccl: bool = False
|
||||||
|
# Whether to enablea HIP
|
||||||
|
use_hip: bool = False
|
||||||
|
# Whether to enable RCCL
|
||||||
|
use_rccl: bool = False
|
||||||
# Whether to enable HDFS
|
# Whether to enable HDFS
|
||||||
use_hdfs: bool = False
|
use_hdfs: bool = False
|
||||||
# Whether to enable Azure Storage
|
# Whether to enable Azure Storage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user