@@ -104,60 +104,6 @@ MACRO_1ARG_1TYPE_OP(dpnp_square_c,
104104
105105#undef MACRO_1ARG_1TYPE_OP
106106
107- #elif defined(MACRO_1ARG_1TYPE_LOGIC_OP)
108-
109- /*
110- * This header file contains single argument element wise functions definitions
111- *
112- * Macro `MACRO_1ARG_1TYPE_LOGIC_OP` must be defined before usage
113- *
114- * Parameters:
115- * - public name of the function and kernel name
116- * - operation used to calculate the result
117- *
118- */
119-
120- #ifdef _SECTION_DOCUMENTATION_GENERATION_
121-
122- #define MACRO_1ARG_1TYPE_LOGIC_OP (__name__, __operation__ ) \
123- /* * @ingroup BACKEND_API */ \
124- /* * @brief Per element operation function __name__ */ \
125- /* * */ \
126- /* * Function "__name__" executes operator "__operation__" over \
127- * corresponding elements of input array */ \
128- /* * */ \
129- /* * @param[in] q_ref Reference to SYCL queue. */ \
130- /* * @param[out] result_out Output array. */ \
131- /* * @param[in] result_size Output array size. */ \
132- /* * @param[in] result_ndim Number of output array \
133- * dimensions. */ \
134- /* * @param[in] result_shape Output array shape. */ \
135- /* * @param[in] result_strides Output array strides. */ \
136- /* * @param[in] input1_in Input array 1. */ \
137- /* * @param[in] input1_size Input array 1 size. */ \
138- /* * @param[in] input1_ndim Number of input array 1 \
139- * dimensions. */ \
140- /* * @param[in] input1_shape Input array 1 shape. */ \
141- /* * @param[in] input1_strides Input array 1 strides. */ \
142- /* * @param[in] where Where condition. */ \
143- /* * @param[in] dep_event_vec_ref Reference to vector of SYCL \
144- * events. */ \
145- template <typename _DataType_input1> \
146- DPCTLSyclEventRef __name__ ( \
147- DPCTLSyclQueueRef q_ref, void *result_out, const size_t result_size, \
148- const size_t result_ndim, const shape_elem_type *result_shape, \
149- const shape_elem_type *result_strides, const void *input1_in, \
150- const size_t input1_size, const size_t input1_ndim, \
151- const shape_elem_type *input1_shape, \
152- const shape_elem_type *input1_strides, const size_t *where, \
153- const DPCTLEventVectorRef dep_event_vec_ref);
154-
155- #endif // _SECTION_DOCUMENTATION_GENERATION_
156-
157- MACRO_1ARG_1TYPE_LOGIC_OP (dpnp_logical_not_c, !input1_elem)
158-
159- #undef MACRO_1ARG_1TYPE_LOGIC_OP
160-
161107#else
162- #error "MACRO_1ARG_1TYPE_OP or MACRO_1ARG_1TYPE_LOGIC_OP is not defined"
163- #endif // MACRO_1ARG_1TYPE_OP || MACRO_1ARG_1TYPE_LOGIC_OP
108+ #error "MACRO_1ARG_1TYPE_OP is not defined"
109+ #endif // MACRO_1ARG_1TYPE_OP
0 commit comments