@@ -218,26 +218,59 @@ INP_DLLEXPORT void dpnp_elemwise_absolute_c(void* array1_in, void* result1, size
218218 * @ingroup BACKEND_API
219219 * @brief Custom implementation of dot function
220220 *
221- * @param [in] array1 Input array.
222- * @param [in] array2 Input array.
223- * @param [out] result1 Output array.
224- * @param [in] size Number of elements in input arrays.
225- */
226- template <typename _DataType_input1, typename _DataType_input2, typename _DataType_output>
227- INP_DLLEXPORT void dpnp_dot_c (void * array1, void * array2, void * result1, size_t size);
221+ * @param [out] result_out Output array.
222+ * @param [in] input1_in First input array.
223+ * @param [in] input1_size Size of first input array.
224+ * @param [in] input1_shape Shape of first input array.
225+ * @param [in] input1_shape_ndim Number of first array dimensions.
226+ * @param [in] input2_in Second input array.
227+ * @param [in] input2_size Shape of second input array.
228+ * @param [in] input2_shape Shape of first input array.
229+ * @param [in] input2_shape_ndim Number of second array dimensions.
230+ * @param [in] where Mask array.
231+ * @param [out] result1 Output array.
232+ * @param [in] size Number of elements in input arrays.
233+ */
234+ template <typename _DataType_output, typename _DataType_input1, typename _DataType_input2>
235+ INP_DLLEXPORT void dpnp_dot_c (void * result_out,
236+ const void * input1_in,
237+ const size_t input1_size,
238+ const size_t * input1_shape,
239+ const size_t input1_shape_ndim,
240+ const void * input2_in,
241+ const size_t input2_size,
242+ const size_t * input2_shape,
243+ const size_t input2_shape_ndim,
244+ const size_t * where);
228245
229246/* *
230247 * @ingroup BACKEND_API
231248 * @brief Custom implementation of cross function
232249 *
233- * @param [in] array1_in First input array.
234- * @param [in] array2_in Second input array.
235- * @param [out] result1 Output array.
236- * @param [in] size Number of elements in input arrays.
237- *
238- */
239- template <typename _DataType_input1, typename _DataType_input2, typename _DataType_output>
240- INP_DLLEXPORT void dpnp_cross_c (void * array1_in, void * array2_in, void * result1, size_t size);
250+ * @param [out] result_out Output array.
251+ * @param [in] input1_in First input array.
252+ * @param [in] input1_size Size of first input array.
253+ * @param [in] input1_shape Shape of first input array.
254+ * @param [in] input1_shape_ndim Number of first array dimensions.
255+ * @param [in] input2_in Second input array.
256+ * @param [in] input2_size Shape of second input array.
257+ * @param [in] input2_shape Shape of first input array.
258+ * @param [in] input2_shape_ndim Number of second array dimensions.
259+ * @param [in] where Mask array.
260+ * @param [out] result1 Output array.
261+ * @param [in] size Number of elements in input arrays.
262+ */
263+ template <typename _DataType_output, typename _DataType_input1, typename _DataType_input2>
264+ INP_DLLEXPORT void dpnp_cross_c (void * result_out,
265+ const void * input1_in,
266+ const size_t input1_size,
267+ const size_t * input1_shape,
268+ const size_t input1_shape_ndim,
269+ const void * input2_in,
270+ const size_t input2_size,
271+ const size_t * input2_shape,
272+ const size_t input2_shape_ndim,
273+ const size_t * where);
241274
242275/* *
243276 * @ingroup BACKEND_API
@@ -436,13 +469,30 @@ INP_DLLEXPORT void dpnp_cholesky_c(void* array1_in, void* result1, const size_t
436469 * @ingroup BACKEND_API
437470 * @brief correlate function
438471 *
439- * @param [in] array1_in Input array 1.
440- * @param [in] array2_in Input array 2.
441- * @param [out] result Output array.
442- * @param [in] size Number of elements in input arrays.
443- */
444- template <typename _DataType_input1, typename _DataType_input2, typename _DataType_output>
445- INP_DLLEXPORT void dpnp_correlate_c (void * array1_in, void * array2_in, void * result, size_t size);
472+ * @param [out] result_out Output array.
473+ * @param [in] input1_in First input array.
474+ * @param [in] input1_size Size of first input array.
475+ * @param [in] input1_shape Shape of first input array.
476+ * @param [in] input1_shape_ndim Number of first array dimensions.
477+ * @param [in] input2_in Second input array.
478+ * @param [in] input2_size Shape of second input array.
479+ * @param [in] input2_shape Shape of first input array.
480+ * @param [in] input2_shape_ndim Number of second array dimensions.
481+ * @param [in] where Mask array.
482+ * @param [out] result1 Output array.
483+ * @param [in] size Number of elements in input arrays.
484+ */
485+ template <typename _DataType_output, typename _DataType_input1, typename _DataType_input2>
486+ INP_DLLEXPORT void dpnp_correlate_c (void * result_out,
487+ const void * input1_in,
488+ const size_t input1_size,
489+ const size_t * input1_shape,
490+ const size_t input1_shape_ndim,
491+ const void * input2_in,
492+ const size_t input2_size,
493+ const size_t * input2_shape,
494+ const size_t input2_shape_ndim,
495+ const size_t * where);
446496
447497/* *
448498 * @ingroup BACKEND_API
@@ -782,13 +832,30 @@ INP_DLLEXPORT void dpnp_fill_diagonal_c(void* array1_in, void* val, size_t* shap
782832 * @ingroup BACKEND_API
783833 * @brief floor_divide function.
784834 *
785- * @param [in] array1_in Input array 1.
786- * @param [in] array2_in Input array 2.
787- * @param [out] result1 Output array.
788- * @param [in] size Number of elements in input arrays.
835+ * @param [out] result_out Output array.
836+ * @param [in] input1_in First input array.
837+ * @param [in] input1_size Size of first input array.
838+ * @param [in] input1_shape Shape of first input array.
839+ * @param [in] input1_shape_ndim Number of first array dimensions.
840+ * @param [in] input2_in Second input array.
841+ * @param [in] input2_size Shape of second input array.
842+ * @param [in] input2_shape Shape of first input array.
843+ * @param [in] input2_shape_ndim Number of second array dimensions.
844+ * @param [in] where Mask array.
845+ * @param [out] result1 Output array.
846+ * @param [in] size Number of elements in input arrays.
789847 */
790848template <typename _DataType_input1, typename _DataType_input2, typename _DataType_output>
791- INP_DLLEXPORT void dpnp_floor_divide_c (void * array1_in, void * array2_in, void * result1, size_t size);
849+ INP_DLLEXPORT void dpnp_floor_divide_c (void * result_out,
850+ const void * input1_in,
851+ const size_t input1_size,
852+ const size_t * input1_shape,
853+ const size_t input1_shape_ndim,
854+ const void * input2_in,
855+ const size_t input2_size,
856+ const size_t * input2_shape,
857+ const size_t input2_shape_ndim,
858+ const size_t * where);
792859
793860/* *
794861 * @ingroup BACKEND_API
@@ -826,13 +893,30 @@ INP_DLLEXPORT void dpnp_ones_like_c(void* result, size_t size);
826893 * @ingroup BACKEND_API
827894 * @brief remainder function.
828895 *
829- * @param [in] array1_in Input array 1.
830- * @param [in] array2_in Input array 2.
831- * @param [out] result1 Output array.
832- * @param [in] size Number of elements in input arrays.
833- */
834- template <typename _DataType_input1, typename _DataType_input2, typename _DataType_output>
835- INP_DLLEXPORT void dpnp_remainder_c (void * array1_in, void * array2_in, void * result1, size_t size);
896+ * @param [out] result_out Output array.
897+ * @param [in] input1_in First input array.
898+ * @param [in] input1_size Size of first input array.
899+ * @param [in] input1_shape Shape of first input array.
900+ * @param [in] input1_shape_ndim Number of first array dimensions.
901+ * @param [in] input2_in Second input array.
902+ * @param [in] input2_size Shape of second input array.
903+ * @param [in] input2_shape Shape of first input array.
904+ * @param [in] input2_shape_ndim Number of second array dimensions.
905+ * @param [in] where Mask array.
906+ * @param [out] result1 Output array.
907+ * @param [in] size Number of elements in input arrays.
908+ */
909+ template <typename _DataType_output, typename _DataType_input1, typename _DataType_input2>
910+ INP_DLLEXPORT void dpnp_remainder_c (void * result_out,
911+ const void * input1_in,
912+ const size_t input1_size,
913+ const size_t * input1_shape,
914+ const size_t input1_shape_ndim,
915+ const void * input2_in,
916+ const size_t input2_size,
917+ const size_t * input2_shape,
918+ const size_t input2_shape_ndim,
919+ const size_t * where);
836920
837921/* *
838922 * @ingroup BACKEND_API
0 commit comments