dmlc / xgboost

Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow
https://xgboost.readthedocs.io/en/stable/
Apache License 2.0
26.34k stars 8.73k forks source link

SYCL. Refactor gradient calculation with HostDeviceVector #10922

Closed razdoburdin closed 1 month ago

razdoburdin commented 1 month ago

Hi, this PR refactors the SYCL implementation of objective functions. The use of HostDeviceVectorsimplifies the code and slightly improves performance by reducing unnecessary data copying.