Skip to content

Commit 0e9e826

Browse files
committed
clean up legacy sqrt
1 parent 88dc4e3 commit 0e9e826

File tree

4 files changed

+4
-361
lines changed

4 files changed

+4
-361
lines changed

dpnp/backend/include/dpnp_gen_1arg_2type_tbl.hpp

Lines changed: 0 additions & 92 deletions
This file was deleted.

dpnp/backend/include/dpnp_iface.hpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -561,28 +561,6 @@ INP_DLLEXPORT void dpnp_argmin_c(void *array, void *result, size_t size);
561561

562562
#include <dpnp_gen_1arg_1type_tbl.hpp>
563563

564-
#define MACRO_1ARG_2TYPES_OP(__name__, __operation1__, __operation2__) \
565-
template <typename _DataType_input, typename _DataType_output> \
566-
INP_DLLEXPORT DPCTLSyclEventRef __name__( \
567-
DPCTLSyclQueueRef q_ref, void *result_out, const size_t result_size, \
568-
const size_t result_ndim, const shape_elem_type *result_shape, \
569-
const shape_elem_type *result_strides, const void *input1_in, \
570-
const size_t input1_size, const size_t input1_ndim, \
571-
const shape_elem_type *input1_shape, \
572-
const shape_elem_type *input1_strides, const size_t *where, \
573-
const DPCTLEventVectorRef dep_event_vec_ref); \
574-
\
575-
template <typename _DataType_input, typename _DataType_output> \
576-
INP_DLLEXPORT void __name__( \
577-
void *result_out, const size_t result_size, const size_t result_ndim, \
578-
const shape_elem_type *result_shape, \
579-
const shape_elem_type *result_strides, const void *input1_in, \
580-
const size_t input1_size, const size_t input1_ndim, \
581-
const shape_elem_type *input1_shape, \
582-
const shape_elem_type *input1_strides, const size_t *where);
583-
584-
#include <dpnp_gen_1arg_2type_tbl.hpp>
585-
586564
#define MACRO_2ARG_3TYPES_OP(__name__, __operation__, __vec_operation__, \
587565
__vec_types__, __mkl_operation__, __mkl_types__) \
588566
template <typename _DataType_output, typename _DataType_input1, \

dpnp/backend/include/dpnp_iface_fptr.hpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,10 @@ enum class DPNPFuncName : size_t
209209
parameters */
210210
DPNP_FN_SEARCHSORTED, /**< Used in numpy.searchsorted() impl */
211211
DPNP_FN_SORT, /**< Used in numpy.sort() impl */
212-
DPNP_FN_SQRT, /**< Used in numpy.sqrt() impl */
213-
DPNP_FN_SQRT_EXT, /**< Used in numpy.sqrt() impl, requires extra parameters
214-
*/
215-
DPNP_FN_SUM, /**< Used in numpy.sum() impl */
216-
DPNP_FN_ZEROS, /**< Used in numpy.zeros() impl */
217-
DPNP_FN_ZEROS_LIKE, /**< Used in numpy.zeros_like() impl */
218-
DPNP_FN_LAST, /**< The latest element of the enumeration */
212+
DPNP_FN_SUM, /**< Used in numpy.sum() impl */
213+
DPNP_FN_ZEROS, /**< Used in numpy.zeros() impl */
214+
DPNP_FN_ZEROS_LIKE, /**< Used in numpy.zeros_like() impl */
215+
DPNP_FN_LAST, /**< The latest element of the enumeration */
219216
};
220217

221218
/**

0 commit comments

Comments
 (0)