[all] Apply nested namespaces (#4482)* [all] Apply nested namespaces* Fix compilation* Revert nested namespaces on .cu files to fix compilation* Fix bad refactoring