fix macro, no !

This commit is contained in:
amdsc21 2023-03-12 23:02:28 +01:00
parent fa2336fcfd
commit b71c1b50de

View File

@ -28,9 +28,9 @@ using AFTLoss = xgboost::common::AFTLoss<Distribution>;
namespace xgboost {
namespace obj {
#if defined(XGBOOST_USE_CUDA) || !defined(XGBOOST_USE_HIP)
#if defined(XGBOOST_USE_CUDA) || defined(XGBOOST_USE_HIP)
DMLC_REGISTRY_FILE_TAG(aft_obj_gpu);
#endif // defined(XGBOOST_USE_CUDA) || !defined(XGBOOST_USE_HIP)
#endif // defined(XGBOOST_USE_CUDA) || defined(XGBOOST_USE_HIP)
class AFTObj : public ObjFunction {
public: