@@ -163,52 +163,6 @@ INP_DLLEXPORT void dpnp_dot_c(void *result_out,
163
163
const shape_elem_type *input2_shape,
164
164
const shape_elem_type *input2_strides);
165
165
166
- /* *
167
- * @ingroup BACKEND_API
168
- * @brief Compute summary of input array elements.
169
- *
170
- * Input array is expected as @ref _DataType_input type and assume result as
171
- * @ref _DataType_output type. The function creates no memory.
172
- *
173
- * Empty @ref input_shape means scalar.
174
- *
175
- * @param [in] q_ref Reference to SYCL queue.
176
- * @param [out] result_out Output array pointer. @ref _DataType_output
177
- * type is expected
178
- * @param [in] input_in Input array pointer. @ref _DataType_input type
179
- * is expected
180
- * @param [in] input_shape Shape of @ref input_in
181
- * @param [in] input_shape_ndim Number of elements in @ref input_shape
182
- * @param [in] axes Array of axes to apply to @ref input_shape
183
- * @param [in] axes_ndim Number of elements in @ref axes
184
- * @param [in] initial Pointer to initial value for the algorithm.
185
- * @ref _DataType_input is expected
186
- * @param [in] where mask array
187
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
188
- */
189
- template <typename _DataType_output, typename _DataType_input>
190
- INP_DLLEXPORT DPCTLSyclEventRef
191
- dpnp_sum_c (DPCTLSyclQueueRef q_ref,
192
- void *result_out,
193
- const void *input_in,
194
- const shape_elem_type *input_shape,
195
- const size_t input_shape_ndim,
196
- const shape_elem_type *axes,
197
- const size_t axes_ndim,
198
- const void *initial,
199
- const long *where,
200
- const DPCTLEventVectorRef dep_event_vec_ref);
201
-
202
- template <typename _DataType_output, typename _DataType_input>
203
- INP_DLLEXPORT void dpnp_sum_c (void *result_out,
204
- const void *input_in,
205
- const shape_elem_type *input_shape,
206
- const size_t input_shape_ndim,
207
- const shape_elem_type *axes,
208
- const size_t axes_ndim,
209
- const void *initial,
210
- const long *where);
211
-
212
166
/* *
213
167
* @ingroup BACKEND_API
214
168
* @brief Return a partitioned copy of an array.
@@ -241,107 +195,6 @@ INP_DLLEXPORT void dpnp_partition_c(void *array,
241
195
const shape_elem_type *shape,
242
196
const size_t ndim);
243
197
244
- /* *
245
- * @ingroup BACKEND_API
246
- * @brief Compute Product of input array elements.
247
- *
248
- * Input array is expected as @ref _DataType_input type and assume result as
249
- * @ref _DataType_output type. The function creates no memory.
250
- *
251
- * Empty @ref input_shape means scalar.
252
- *
253
- * @param [in] q_ref Reference to SYCL queue.
254
- * @param [out] result_out Output array pointer. @ref _DataType_output
255
- * type is expected
256
- * @param [in] input_in Input array pointer. @ref _DataType_input type
257
- * is expected
258
- * @param [in] input_shape Shape of @ref input_in
259
- * @param [in] input_shape_ndim Number of elements in @ref input_shape
260
- * @param [in] axes Array of axes to apply to @ref input_shape
261
- * @param [in] axes_ndim Number of elements in @ref axes
262
- * @param [in] initial Pointer to initial value for the algorithm.
263
- * @ref _DataType_input is expected
264
- * @param [in] where mask array
265
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
266
- */
267
- template <typename _DataType_output, typename _DataType_input>
268
- INP_DLLEXPORT DPCTLSyclEventRef
269
- dpnp_prod_c (DPCTLSyclQueueRef q_ref,
270
- void *result_out,
271
- const void *input_in,
272
- const shape_elem_type *input_shape,
273
- const size_t input_shape_ndim,
274
- const shape_elem_type *axes,
275
- const size_t axes_ndim,
276
- const void *initial,
277
- const long *where,
278
- const DPCTLEventVectorRef dep_event_vec_ref);
279
-
280
- template <typename _DataType_output, typename _DataType_input>
281
- INP_DLLEXPORT void dpnp_prod_c (void *result_out,
282
- const void *input_in,
283
- const shape_elem_type *input_shape,
284
- const size_t input_shape_ndim,
285
- const shape_elem_type *axes,
286
- const size_t axes_ndim,
287
- const void *initial,
288
- const long *where);
289
-
290
- /* *
291
- * @ingroup BACKEND_API
292
-
293
- * @brief math library implementation of argsort function
294
- *
295
- * @param [in] q_ref Reference to SYCL queue.
296
- * @param [in] array Input array with data.
297
- * @param [out] result Output array with indices.
298
- * @param [in] size Number of elements in input arrays.
299
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
300
- */
301
- template <typename _DataType, typename _idx_DataType>
302
- INP_DLLEXPORT DPCTLSyclEventRef
303
- dpnp_argsort_c (DPCTLSyclQueueRef q_ref,
304
- void *array,
305
- void *result,
306
- size_t size,
307
- const DPCTLEventVectorRef dep_event_vec_ref);
308
-
309
- template <typename _DataType, typename _idx_DataType>
310
- INP_DLLEXPORT void dpnp_argsort_c (void *array, void *result, size_t size);
311
-
312
- /* *
313
- * @ingroup BACKEND_API
314
- * @brief math library implementation of searchsorted function
315
- *
316
- * @param [in] q_ref Reference to SYCL queue.
317
- * @param [out] result Output array.
318
- * @param [in] array Input array with data.
319
- * @param [in] v Input values to insert into array.
320
- * @param [in] side Param for choosing a case of searching for
321
- * elements.
322
- * @param [in] arr_size Number of elements in input arrays.
323
- * @param [in] v_size Number of elements in input values arrays.
324
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
325
- */
326
- template <typename _DataType, typename _IndexingType>
327
- INP_DLLEXPORT DPCTLSyclEventRef
328
- dpnp_searchsorted_c (DPCTLSyclQueueRef q_ref,
329
- void *result,
330
- const void *array,
331
- const void *v,
332
- bool side,
333
- const size_t arr_size,
334
- const size_t v_size,
335
- const DPCTLEventVectorRef dep_event_vec_ref);
336
-
337
- template <typename _DataType, typename _IndexingType>
338
- INP_DLLEXPORT void dpnp_searchsorted_c (void *result,
339
- const void *array,
340
- const void *v,
341
- bool side,
342
- const size_t arr_size,
343
- const size_t v_size);
344
-
345
198
/* *
346
199
* @ingroup BACKEND_API
347
200
* @brief math library implementation of sort function
@@ -497,48 +350,6 @@ INP_DLLEXPORT void dpnp_median_c(void *array,
497
350
const shape_elem_type *axis,
498
351
size_t naxis);
499
352
500
- /* *
501
- * @ingroup BACKEND_API
502
- * @brief math library implementation of argmax function
503
- *
504
- * @param [in] q_ref Reference to SYCL queue.
505
- * @param [in] array Input array with data.
506
- * @param [out] result Output array with indices.
507
- * @param [in] size Number of elements in input array.
508
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
509
- */
510
- template <typename _DataType, typename _idx_DataType>
511
- INP_DLLEXPORT DPCTLSyclEventRef
512
- dpnp_argmax_c (DPCTLSyclQueueRef q_ref,
513
- void *array,
514
- void *result,
515
- size_t size,
516
- const DPCTLEventVectorRef dep_event_vec_ref);
517
-
518
- template <typename _DataType, typename _idx_DataType>
519
- INP_DLLEXPORT void dpnp_argmax_c (void *array, void *result, size_t size);
520
-
521
- /* *
522
- * @ingroup BACKEND_API
523
- * @brief math library implementation of argmin function
524
- *
525
- * @param [in] q_ref Reference to SYCL queue.
526
- * @param [in] array Input array with data.
527
- * @param [out] result Output array with indices.
528
- * @param [in] size Number of elements in input array.
529
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
530
- */
531
- template <typename _DataType, typename _idx_DataType>
532
- INP_DLLEXPORT DPCTLSyclEventRef
533
- dpnp_argmin_c (DPCTLSyclQueueRef q_ref,
534
- void *array,
535
- void *result,
536
- size_t size,
537
- const DPCTLEventVectorRef dep_event_vec_ref);
538
-
539
- template <typename _DataType, typename _idx_DataType>
540
- INP_DLLEXPORT void dpnp_argmin_c (void *array, void *result, size_t size);
541
-
542
353
#define MACRO_1ARG_1TYPE_OP (__name__, __operation1__, __operation2__ ) \
543
354
template <typename _DataType> \
544
355
INP_DLLEXPORT DPCTLSyclEventRef __name__ ( \
0 commit comments