File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dpnp/backend/extensions/window Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class KaiserFunctor
7272 }
7373};
7474
75- template <typename T, template < typename > class Functor >
75+ template <typename T>
7676sycl::event kaiser_impl (sycl::queue &q,
7777 char *result,
7878 const std::size_t nelems,
@@ -87,7 +87,7 @@ sycl::event kaiser_impl(sycl::queue &q,
8787 sycl::event kaiser_ev = q.submit ([&](sycl::handler &cgh) {
8888 cgh.depends_on (depends);
8989
90- using KaiserKernel = Functor <T>;
90+ using KaiserKernel = KaiserFunctor <T>;
9191 cgh.parallel_for <KaiserKernel>(sycl::range<1 >(nelems),
9292 KaiserKernel (res, nelems, beta));
9393 });
@@ -101,7 +101,7 @@ struct KaiserFactory
101101 fnT get ()
102102 {
103103 if constexpr (std::is_floating_point_v<T>) {
104- return kaiser_impl<T, KaiserFunctor >;
104+ return kaiser_impl<T>;
105105 }
106106 else {
107107 return nullptr ;
You can’t perform that action at this time.
0 commit comments