@@ -100,35 +100,6 @@ INP_DLLEXPORT void dpnp_memory_memcpy_c(DPCTLSyclQueueRef q_ref,
100
100
INP_DLLEXPORT void
101
101
dpnp_memory_memcpy_c (void *dst, const void *src, size_t size_in_bytes);
102
102
103
- /* *
104
- * @ingroup BACKEND_API
105
- * @brief Compute the variance along the specified axis, while ignoring NaNs.
106
- *
107
- * @param [in] q_ref Reference to SYCL queue.
108
- * @param [in] array Input array.
109
- * @param [in] mask_arr Input mask array when elem is nan.
110
- * @param [out] result Output array.
111
- * @param [in] result_size Output array size.
112
- * @param [in] size Number of elements in input arrays.
113
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
114
- */
115
- template <typename _DataType>
116
- INP_DLLEXPORT DPCTLSyclEventRef
117
- dpnp_nanvar_c (DPCTLSyclQueueRef q_ref,
118
- void *array,
119
- void *mask_arr,
120
- void *result,
121
- const size_t result_size,
122
- size_t size,
123
- const DPCTLEventVectorRef dep_event_vec_ref);
124
-
125
- template <typename _DataType>
126
- INP_DLLEXPORT void dpnp_nanvar_c (void *array,
127
- void *mask_arr,
128
- void *result,
129
- const size_t result_size,
130
- size_t size);
131
-
132
103
/* *
133
104
* @ingroup BACKEND_API
134
105
* @brief Custom implementation of dot function
@@ -238,29 +209,6 @@ INP_DLLEXPORT void dpnp_sum_c(void *result_out,
238
209
const void *initial,
239
210
const long *where);
240
211
241
- /* *
242
- * @ingroup BACKEND_API
243
- * @brief Custom implementation of count_nonzero function
244
- *
245
- * @param [in] q_ref Reference to SYCL queue.
246
- * @param [in] array1_in Input array.
247
- * @param [out] result1_out Output array.
248
- * @param [in] size Number of elements in input arrays.
249
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
250
- *
251
- */
252
- template <typename _DataType_input, typename _DataType_output>
253
- INP_DLLEXPORT DPCTLSyclEventRef
254
- dpnp_count_nonzero_c (DPCTLSyclQueueRef q_ref,
255
- void *array1_in,
256
- void *result1_out,
257
- size_t size,
258
- const DPCTLEventVectorRef dep_event_vec_ref);
259
-
260
- template <typename _DataType_input, typename _DataType_output>
261
- INP_DLLEXPORT void
262
- dpnp_count_nonzero_c (void *array1_in, void *result1_out, size_t size);
263
-
264
212
/* *
265
213
* @ingroup BACKEND_API
266
214
* @brief Return a partitioned copy of an array.
@@ -541,73 +489,6 @@ INP_DLLEXPORT DPCTLSyclEventRef
541
489
template <typename _DataType>
542
490
INP_DLLEXPORT void dpnp_initval_c (void *result1, void *value, size_t size);
543
491
544
- /* *
545
- * @ingroup BACKEND_API
546
- * @brief math library implementation of max function
547
- *
548
- * @param [in] q_ref Reference to SYCL queue.
549
- * @param [in] array1_in Input array with data.
550
- * @param [out] result1 Output array.
551
- * @param [in] result_size Output array size.
552
- * @param [in] shape Shape of input array.
553
- * @param [in] ndim Number of elements in shape.
554
- * @param [in] axis Axis.
555
- * @param [in] naxis Number of elements in axis.
556
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
557
- */
558
- template <typename _DataType>
559
- INP_DLLEXPORT DPCTLSyclEventRef
560
- dpnp_max_c (DPCTLSyclQueueRef q_ref,
561
- void *array1_in,
562
- void *result1,
563
- const size_t result_size,
564
- const shape_elem_type *shape,
565
- size_t ndim,
566
- const shape_elem_type *axis,
567
- size_t naxis,
568
- const DPCTLEventVectorRef dep_event_vec_ref);
569
-
570
- template <typename _DataType>
571
- INP_DLLEXPORT void dpnp_max_c (void *array1_in,
572
- void *result1,
573
- const size_t result_size,
574
- const shape_elem_type *shape,
575
- size_t ndim,
576
- const shape_elem_type *axis,
577
- size_t naxis);
578
-
579
- /* *
580
- * @ingroup BACKEND_API
581
- * @brief math library implementation of mean function
582
- *
583
- * @param [in] q_ref Reference to SYCL queue.
584
- * @param [in] array Input array with data.
585
- * @param [out] result Output array.
586
- * @param [in] shape Shape of input array.
587
- * @param [in] ndim Number of elements in shape.
588
- * @param [in] axis Axis.
589
- * @param [in] naxis Number of elements in axis.
590
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
591
- */
592
- template <typename _DataType, typename _ResultType>
593
- INP_DLLEXPORT DPCTLSyclEventRef
594
- dpnp_mean_c (DPCTLSyclQueueRef q_ref,
595
- void *array,
596
- void *result,
597
- const shape_elem_type *shape,
598
- size_t ndim,
599
- const shape_elem_type *axis,
600
- size_t naxis,
601
- const DPCTLEventVectorRef dep_event_vec_ref);
602
-
603
- template <typename _DataType, typename _ResultType>
604
- INP_DLLEXPORT void dpnp_mean_c (void *array,
605
- void *result,
606
- const shape_elem_type *shape,
607
- size_t ndim,
608
- const shape_elem_type *axis,
609
- size_t naxis);
610
-
611
492
/* *
612
493
* @ingroup BACKEND_API
613
494
* @brief math library implementation of median function
@@ -640,41 +521,6 @@ INP_DLLEXPORT void dpnp_median_c(void *array,
640
521
const shape_elem_type *axis,
641
522
size_t naxis);
642
523
643
- /* *
644
- * @ingroup BACKEND_API
645
- * @brief math library implementation of min function
646
- *
647
- * @param [in] q_ref Reference to SYCL queue.
648
- * @param [in] array Input array with data.
649
- * @param [out] result Output array.
650
- * @param [in] result_size Output array size.
651
- * @param [in] shape Shape of input array.
652
- * @param [in] ndim Number of elements in shape.
653
- * @param [in] axis Axis.
654
- * @param [in] naxis Number of elements in axis.
655
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
656
- */
657
- template <typename _DataType>
658
- INP_DLLEXPORT DPCTLSyclEventRef
659
- dpnp_min_c (DPCTLSyclQueueRef q_ref,
660
- void *array,
661
- void *result,
662
- const size_t result_size,
663
- const shape_elem_type *shape,
664
- size_t ndim,
665
- const shape_elem_type *axis,
666
- size_t naxis,
667
- const DPCTLEventVectorRef dep_event_vec_ref);
668
-
669
- template <typename _DataType>
670
- INP_DLLEXPORT void dpnp_min_c (void *array,
671
- void *result,
672
- const size_t result_size,
673
- const shape_elem_type *shape,
674
- size_t ndim,
675
- const shape_elem_type *axis,
676
- size_t naxis);
677
-
678
524
/* *
679
525
* @ingroup BACKEND_API
680
526
* @brief math library implementation of argmax function
@@ -717,76 +563,6 @@ INP_DLLEXPORT DPCTLSyclEventRef
717
563
template <typename _DataType, typename _idx_DataType>
718
564
INP_DLLEXPORT void dpnp_argmin_c (void *array, void *result, size_t size);
719
565
720
- /* *
721
- * @ingroup BACKEND_API
722
- * @brief math library implementation of std function
723
- *
724
- * @param [in] q_ref Reference to SYCL queue.
725
- * @param [in] array Input array with data.
726
- * @param [out] result Output array with indices.
727
- * @param [in] shape Shape of input array.
728
- * @param [in] ndim Number of elements in shape.
729
- * @param [in] axis Axis.
730
- * @param [in] naxis Number of elements in axis.
731
- * @param [in] ddof Delta degrees of freedom.
732
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
733
- */
734
- template <typename _DataType, typename _ResultType>
735
- INP_DLLEXPORT DPCTLSyclEventRef
736
- dpnp_std_c (DPCTLSyclQueueRef q_ref,
737
- void *array,
738
- void *result,
739
- const shape_elem_type *shape,
740
- size_t ndim,
741
- const shape_elem_type *axis,
742
- size_t naxis,
743
- size_t ddof,
744
- const DPCTLEventVectorRef dep_event_vec_ref);
745
-
746
- template <typename _DataType, typename _ResultType>
747
- INP_DLLEXPORT void dpnp_std_c (void *array,
748
- void *result,
749
- const shape_elem_type *shape,
750
- size_t ndim,
751
- const shape_elem_type *axis,
752
- size_t naxis,
753
- size_t ddof);
754
-
755
- /* *
756
- * @ingroup BACKEND_API
757
- * @brief math library implementation of var function
758
- *
759
- * @param [in] q_ref Reference to SYCL queue.
760
- * @param [in] array Input array with data.
761
- * @param [out] result Output array with indices.
762
- * @param [in] shape Shape of input array.
763
- * @param [in] ndim Number of elements in shape.
764
- * @param [in] axis Axis.
765
- * @param [in] naxis Number of elements in axis.
766
- * @param [in] ddof Delta degrees of freedom.
767
- * @param [in] dep_event_vec_ref Reference to vector of SYCL events.
768
- */
769
- template <typename _DataType, typename _ResultType>
770
- INP_DLLEXPORT DPCTLSyclEventRef
771
- dpnp_var_c (DPCTLSyclQueueRef q_ref,
772
- void *array,
773
- void *result,
774
- const shape_elem_type *shape,
775
- size_t ndim,
776
- const shape_elem_type *axis,
777
- size_t naxis,
778
- size_t ddof,
779
- const DPCTLEventVectorRef dep_event_vec_ref);
780
-
781
- template <typename _DataType, typename _ResultType>
782
- INP_DLLEXPORT void dpnp_var_c (void *array,
783
- void *result,
784
- const shape_elem_type *shape,
785
- size_t ndim,
786
- const shape_elem_type *axis,
787
- size_t naxis,
788
- size_t ddof);
789
-
790
566
#define MACRO_1ARG_1TYPE_OP (__name__, __operation1__, __operation2__ ) \
791
567
template <typename _DataType> \
792
568
INP_DLLEXPORT DPCTLSyclEventRef __name__ ( \
0 commit comments