finish common.cu
This commit is contained in:
@@ -156,7 +156,7 @@ int AllVisibleGPUs();
|
||||
inline void AssertGPUSupport() {
|
||||
#if !defined(XGBOOST_USE_CUDA) && !defined(XGBOOST_USE_HIP)
|
||||
LOG(FATAL) << "XGBoost version not compiled with GPU support.";
|
||||
#endif // XGBOOST_USE_CUDA
|
||||
#endif // XGBOOST_USE_CUDA && XGBOOST_USE_HIP
|
||||
}
|
||||
|
||||
inline void AssertOneAPISupport() {
|
||||
|
||||
Reference in New Issue
Block a user