Skip to content

Commit 9ebb038

Browse files
committed
Add a note when a multidemension array passed into dpnp_partition
1 parent 5f41788 commit 9ebb038

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpnp/backend/kernels/dpnp_krnl_sorting.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ DPCTLSyclEventRef dpnp_partition_c(DPCTLSyclQueueRef q_ref,
7979
// fill the result array with data from input one
8080
q.memcpy(result, arr, size * sizeof(_DataType)).wait();
8181

82+
// note, a loop for a multidemension input array (size_ > 1) is an
83+
// experimental and it isn't tested properly as for now
8284
for (size_t i = 0; i < size_; i++) {
8385
_DataType *bufptr = result + i * shape_[0];
8486

0 commit comments

Comments
 (0)