Skip to content

Commit 08b3517

Browse files
Merge pull request #1799 from IntelPython/fix-unreference-bug-in-copying-between-usm-ndarrays
2 parents 76b2eb0 + 79dc399 commit 08b3517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/libtensor/source/copy_and_cast_usm_to_usm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ copy_usm_ndarray_into_usm_ndarray(const dpctl::tensor::usm_ndarray &src,
197197
auto contig_fn =
198198
copy_and_cast_contig_dispatch_table[dst_type_id]
199199
[src_type_id];
200-
sycl::event copy_and_cast_1d_event =
200+
copy_and_cast_1d_event =
201201
contig_fn(exec_q, src_nelems, src_data, dst_data, depends);
202202
}
203203
else {

0 commit comments

Comments
 (0)