Skip to content

Commit e9d308e

Browse files
authored
[SYCL] Fix the error with namespaces caused during rebase of #4014 (#4151)
During rebase of #4014 one of calls to ONEAPI::detail::reduSaveFinalResultToUserMem was left as is, while the implementation was moved to ext::oneapi::detail namespace. That caused errors during compilation of parallel_for(range,reduction,func) Fixed it here. Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
1 parent b5b0787 commit e9d308e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: sycl/include/CL/sycl/handler.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1396,8 +1396,8 @@ class __SYCL_EXPORT handler {
13961396
this->finalize();
13971397
handler CopyHandler(QueueCopy, MIsHost);
13981398
CopyHandler.saveCodeLoc(MCodeLoc);
1399-
ONEAPI::detail::reduSaveFinalResultToUserMem<KernelName>(CopyHandler,
1400-
Redu);
1399+
ext::oneapi::detail::reduSaveFinalResultToUserMem<KernelName>(CopyHandler,
1400+
Redu);
14011401
MLastEvent = CopyHandler.finalize();
14021402
}
14031403
}

0 commit comments

Comments
 (0)