Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeySachkov committed Sep 24, 2024
1 parent cf21174 commit ed3589e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/include/sycl/handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,8 @@ class __SYCL_EXPORT handler {
detail::KernelLambdaHasKernelHandlerArgT<KernelType,
LambdaArgType>::value;

MHostKernel.reset(
new detail::HostKernel<KernelType, LambdaArgType, Dims>(KernelFunc));
MHostKernel = std::make_unique<
detail::HostKernel<KernelType, LambdaArgType, Dims>>(KernelFunc);

constexpr bool KernelHasName =
detail::getKernelName<KernelName>() != nullptr &&
Expand Down

0 comments on commit ed3589e

Please sign in to comment.