Skip to content

Commit

Permalink
[SYCL] Fix the error with namespaces caused during rebase of #4014 (#…
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
v-klochkov authored Jul 21, 2021
1 parent b5b0787 commit e9d308e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/include/CL/sycl/handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1396,8 +1396,8 @@ class __SYCL_EXPORT handler {
this->finalize();
handler CopyHandler(QueueCopy, MIsHost);
CopyHandler.saveCodeLoc(MCodeLoc);
ONEAPI::detail::reduSaveFinalResultToUserMem<KernelName>(CopyHandler,
Redu);
ext::oneapi::detail::reduSaveFinalResultToUserMem<KernelName>(CopyHandler,
Redu);
MLastEvent = CopyHandler.finalize();
}
}
Expand Down

0 comments on commit e9d308e

Please sign in to comment.