Skip to content

Commit 01c6b58

Browse files
authored
move dpnp_matrix_rank_c() data to adapter
1 parent 271a78a commit 01c6b58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/backend/kernels/dpnp_krnl_linalg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ void dpnp_matrix_rank_c(void* array1_in, void* result1, size_t* shape, size_t nd
387387
return;
388388
}
389389

390-
DPNPC_ptr_adapter<_DataType> input1_ptr(array1_in, input_size);
391-
DPNPC_ptr_adapter<_DataType> result_ptr(result1, 1);
390+
DPNPC_ptr_adapter<_DataType> input1_ptr(array1_in, input_size, true);
391+
DPNPC_ptr_adapter<_DataType> result_ptr(result1, 1, true, true);
392392
_DataType* array_1 = input1_ptr.get_ptr();
393393
_DataType* result = result_ptr.get_ptr();
394394

0 commit comments

Comments
 (0)