v3.0.4
Breaking Changes📦 xgboostView on GitHub →
⚠ 1 breaking✨ 1 features🔧 1 symbols
Summary
XGBoost 3.0.4 removes the `__restrict__` qualifier and makes CUDA lineinfo optional, with experimental CUDA-enabled R binaries now available.
⚠️ Breaking Changes
- The internal use of the `__restrict__` qualifier has been removed. Code that relied on `__restrict__` in custom CUDA kernels may fail to compile. Fix by replacing `__restrict__` with the standard C++ `restrict` keyword or removing the qualifier.
Migration Steps
- Search your codebase for occurrences of `__restrict__` and replace them with `restrict` or remove the qualifier.
- If you need CUDA lineinfo, ensure the appropriate build flag is set; otherwise, you can leave it disabled.
✨ New Features
- CUDA lineinfo support is now optional, allowing users to enable or disable line information generation for CUDA builds.