From 75f1145130964e343112f5524a951a71e2a4432c Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 27 Dec 2024 08:59:58 -0800 Subject: [PATCH] Fixed missed uses of `size_t` --- .../libtensor/include/kernels/elementwise_functions/trunc.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,