finish aft_obj.cu

This commit is contained in:
amdsc21
2023-03-10 06:39:03 +01:00
parent 9bbbeb3f03
commit c073417d0c
3 changed files with 7 additions and 3 deletions

View File

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