diff --git a/dpctl/tensor/libtensor/include/kernels/elementwise_functions/trunc.hpp b/dpctl/tensor/libtensor/include/kernels/elementwise_functions/trunc.hpp index d3406b1c31..2091fe6f37 100644 --- a/dpctl/tensor/libtensor/include/kernels/elementwise_functions/trunc.hpp +++ b/dpctl/tensor/libtensor/include/kernels/elementwise_functions/trunc.hpp @@ -136,7 +136,7 @@ class trunc_contig_kernel; template sycl::event trunc_contig_impl(sycl::queue &exec_q, - size_t nelems, + std::size_t nelems, const char *arg_p, char *res_p, const std::vector &depends = {}) @@ -179,7 +179,7 @@ template class trunc_strided_kernel; template sycl::event trunc_strided_impl(sycl::queue &exec_q, - size_t nelems, + std::size_t nelems, int nd, const ssize_t *shape_and_strides, const char *arg_p,