Skip to content

Commit

Permalink
Remove unwarranted static_assert
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Jan 21, 2025
1 parent 3f90e9b commit 1a95394
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dpctl/tensor/libtensor/include/kernels/clip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ sycl::event clip_contig_impl(sycl::queue &q,
using KernelName = clip_contig_kernel<T, vec_sz, n_vecs>;
using Impl =
ClipContigFunctor<T, vec_sz, n_vecs, enable_sg_loadstore>;
static_assert(sycl::is_device_copyable_v<Impl>);

cgh.parallel_for<KernelName>(
sycl::nd_range<1>(gws_range, lws_range),
Expand All @@ -231,7 +230,6 @@ sycl::event clip_contig_impl(sycl::queue &q,
disabled_sg_loadstore_wrapper_krn<InnerKernelName>;
using Impl =
ClipContigFunctor<T, vec_sz, n_vecs, disable_sg_loadstore>;
static_assert(sycl::is_device_copyable_v<Impl>);

cgh.parallel_for<KernelName>(
sycl::nd_range<1>(gws_range, lws_range),
Expand Down

0 comments on commit 1a95394

Please sign in to comment.