Skip to content

Commit 46762fa

Browse files
Remove dot and multiply from backend
1 parent 9083eeb commit 46762fa

File tree

5 files changed

+0
-1243
lines changed

5 files changed

+0
-1243
lines changed

dpnp/backend/include/dpnp_gen_2arg_3type_tbl.hpp

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

dpnp/backend/include/dpnp_iface.hpp

Lines changed: 0 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -100,69 +100,6 @@ INP_DLLEXPORT void dpnp_memory_memcpy_c(DPCTLSyclQueueRef q_ref,
100100
INP_DLLEXPORT void
101101
dpnp_memory_memcpy_c(void *dst, const void *src, size_t size_in_bytes);
102102

103-
/**
104-
* @ingroup BACKEND_API
105-
* @brief Custom implementation of dot function
106-
*
107-
* @param [in] q_ref Reference to SYCL queue.
108-
* @param [out] result_out Output array.
109-
* @param [in] result_size Size of output array.
110-
* @param [in] result_ndim Number of output array dimensions.
111-
* @param [in] result_shape Shape of output array.
112-
* @param [in] result_strides Strides of output array.
113-
* @param [in] input1_in First input array.
114-
* @param [in] input1_size Size of first input array.
115-
* @param [in] input1_ndim Number of first input array dimensions.
116-
* @param [in] input1_shape Shape of first input array.
117-
* @param [in] input1_strides Strides of first input array.
118-
* @param [in] input2_in Second input array.
119-
* @param [in] input2_size Size of second input array.
120-
* @param [in] input2_ndim Number of second input array dimensions.
121-
* @param [in] input2_shape Shape of second input array.
122-
* @param [in] input2_strides Strides of second input array.
123-
* @param [in] dep_event_vec_ref Reference to vector of SYCL events.
124-
*/
125-
template <typename _DataType_output,
126-
typename _DataType_input1,
127-
typename _DataType_input2>
128-
INP_DLLEXPORT DPCTLSyclEventRef
129-
dpnp_dot_c(DPCTLSyclQueueRef q_ref,
130-
void *result_out,
131-
const size_t result_size,
132-
const size_t result_ndim,
133-
const shape_elem_type *result_shape,
134-
const shape_elem_type *result_strides,
135-
const void *input1_in,
136-
const size_t input1_size,
137-
const size_t input1_ndim,
138-
const shape_elem_type *input1_shape,
139-
const shape_elem_type *input1_strides,
140-
const void *input2_in,
141-
const size_t input2_size,
142-
const size_t input2_ndim,
143-
const shape_elem_type *input2_shape,
144-
const shape_elem_type *input2_strides,
145-
const DPCTLEventVectorRef dep_event_vec_ref);
146-
147-
template <typename _DataType_output,
148-
typename _DataType_input1,
149-
typename _DataType_input2>
150-
INP_DLLEXPORT void dpnp_dot_c(void *result_out,
151-
const size_t result_size,
152-
const size_t result_ndim,
153-
const shape_elem_type *result_shape,
154-
const shape_elem_type *result_strides,
155-
const void *input1_in,
156-
const size_t input1_size,
157-
const size_t input1_ndim,
158-
const shape_elem_type *input1_shape,
159-
const shape_elem_type *input1_strides,
160-
const void *input2_in,
161-
const size_t input2_size,
162-
const size_t input2_ndim,
163-
const shape_elem_type *input2_shape,
164-
const shape_elem_type *input2_strides);
165-
166103
/**
167104
* @ingroup BACKEND_API
168105
* @brief Return a partitioned copy of an array.
@@ -271,37 +208,6 @@ INP_DLLEXPORT void dpnp_initval_c(void *result1, void *value, size_t size);
271208

272209
#include <dpnp_gen_1arg_1type_tbl.hpp>
273210

274-
#define MACRO_2ARG_3TYPES_OP(__name__, __operation__, __vec_operation__, \
275-
__vec_types__, __mkl_operation__, __mkl_types__) \
276-
template <typename _DataType_output, typename _DataType_input1, \
277-
typename _DataType_input2> \
278-
INP_DLLEXPORT DPCTLSyclEventRef __name__( \
279-
DPCTLSyclQueueRef q_ref, void *result_out, const size_t result_size, \
280-
const size_t result_ndim, const shape_elem_type *result_shape, \
281-
const shape_elem_type *result_strides, const void *input1_in, \
282-
const size_t input1_size, const size_t input1_ndim, \
283-
const shape_elem_type *input1_shape, \
284-
const shape_elem_type *input1_strides, const void *input2_in, \
285-
const size_t input2_size, const size_t input2_ndim, \
286-
const shape_elem_type *input2_shape, \
287-
const shape_elem_type *input2_strides, const size_t *where, \
288-
const DPCTLEventVectorRef dep_event_vec_ref); \
289-
\
290-
template <typename _DataType_output, typename _DataType_input1, \
291-
typename _DataType_input2> \
292-
INP_DLLEXPORT void __name__( \
293-
void *result_out, const size_t result_size, const size_t result_ndim, \
294-
const shape_elem_type *result_shape, \
295-
const shape_elem_type *result_strides, const void *input1_in, \
296-
const size_t input1_size, const size_t input1_ndim, \
297-
const shape_elem_type *input1_shape, \
298-
const shape_elem_type *input1_strides, const void *input2_in, \
299-
const size_t input2_size, const size_t input2_ndim, \
300-
const shape_elem_type *input2_shape, \
301-
const shape_elem_type *input2_strides, const size_t *where);
302-
303-
#include <dpnp_gen_2arg_3type_tbl.hpp>
304-
305211
/**
306212
* @ingroup BACKEND_API
307213
* @brief modf function.

0 commit comments

Comments
 (0)