Migrating to XGBoost v3.0.5
Version v3.0.5 introduces 1 breaking change. This guide details how to update your code.
Released: 9/5/2025
1
Breaking Changes
2
Migration Steps
1
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
__restrict__Breaking Changes
●Issue #1
The __restrict__ macro has been removed. Code that relied on __restrict__ will fail to compile; remove or replace its usage with standard constructs.
Migration Steps
- 1Search your codebase for any usage of the __restrict__ macro and delete or replace it.
- 2Rebuild your project against the new CTK13 toolchain.
Release Summary
XGBoost 3.0.5 removes the __restrict__ macro and switches compilation to CUDA Toolkit 13, providing updated GPU support.
Need More Details?
View the full release notes and all changes for XGBoost v3.0.5.
View Full Changelog