Skip to content

Commit

Permalink
Update dpctl/tensor/libtensor/source/zeros_ctor.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: ndgrigorian <[email protected]>
  • Loading branch information
oleksandr-pavlyk and ndgrigorian authored Aug 22, 2024
1 parent f0d926a commit 640e706
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dpctl/tensor/libtensor/source/zeros_ctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ usm_ndarray_zeros(const dpctl::tensor::usm_ndarray &dst,
sycl::queue &exec_q,
const std::vector<sycl::event> &depends)
{
// start, end should be coercible into data type of dst

py::ssize_t dst_nelems = dst.get_size();

if (dst_nelems == 0) {
Expand Down

0 comments on commit 640e706

Please sign in to comment.