Skip to content

Commit 9572332

Browse files
committed
Update description of _copysign in vm extension
1 parent fa4baa1 commit 9572332

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

dpnp/backend/extensions/vm/copysign.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,9 @@ void init_copysign(py::module_ m)
143143
};
144144
m.def(
145145
"_copysign", copysign_pyapi,
146-
"Call `copysign` function from OneMKL VM library to return `dst` of "
147-
"elements containing the next representable floating-point values "
148-
"following the values from the elements of `src1` in the direction of "
149-
"the corresponding elements of `src2`",
146+
"Call `copysign` function from OneMKL VM library to return `dst` with "
147+
"the elements of `src1` with the sign changed to match the sign "
148+
"of the corresponding elements of `src2`",
150149
py::arg("sycl_queue"), py::arg("src1"), py::arg("src2"), py::arg("dst"),
151150
py::arg("depends") = py::list());
152151

dpnp/backend/extensions/vm/i0.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@ void init_i0(py::module_ m)
117117
td_ns::NullPtrVector<impl::unary_strided_impl_fn_ptr_t>{});
118118
};
119119
m.def("_i0", i0_pyapi,
120-
"Call `i0` function from OneMKL VM library to compute "
121-
"the element-wise regular modified cylindrical Bessel function of order 0",
120+
"Call `i0` function from OneMKL VM library to compute the "
121+
"element-wise regular modified cylindrical Bessel function "
122+
"of order 0",
122123
py::arg("sycl_queue"), py::arg("src"), py::arg("dst"),
123124
py::arg("depends") = py::list());
124125

dpnp/backend/extensions/vm/inv.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ void init_inv(py::module_ m)
118118
};
119119
m.def("_inv", inv_pyapi,
120120
"Call `inv` function from OneMKL VM library to compute "
121-
"the element-wise multiplicative inverse (or reciprocal) of vector elements",
121+
"the element-wise multiplicative inverse (or reciprocal) "
122+
"of vector elements",
122123
py::arg("sycl_queue"), py::arg("src"), py::arg("dst"),
123124
py::arg("depends") = py::list());
124125

0 commit comments

Comments
 (0)