diff --git a/sycl/include/CL/sycl/handler.hpp b/sycl/include/CL/sycl/handler.hpp index 39412ceb4179c..cb07824aaee77 100644 --- a/sycl/include/CL/sycl/handler.hpp +++ b/sycl/include/CL/sycl/handler.hpp @@ -1396,8 +1396,8 @@ class __SYCL_EXPORT handler { this->finalize(); handler CopyHandler(QueueCopy, MIsHost); CopyHandler.saveCodeLoc(MCodeLoc); - ONEAPI::detail::reduSaveFinalResultToUserMem(CopyHandler, - Redu); + ext::oneapi::detail::reduSaveFinalResultToUserMem(CopyHandler, + Redu); MLastEvent = CopyHandler.finalize(); } }