Skip to content

Commit dc75465

Browse files
committed
Enable VM implementation of erf from oneMKL
1 parent 33bc76b commit dc75465

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dpnp/special/_erf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,16 @@ def __init__(
5151
result_type_resolver_fn,
5252
unary_dp_impl_fn,
5353
docs,
54+
mkl_fn_to_call=None,
55+
mkl_impl_fn=None,
5456
):
5557
super().__init__(
5658
name,
5759
result_type_resolver_fn,
5860
unary_dp_impl_fn,
5961
docs,
62+
mkl_fn_to_call=mkl_fn_to_call,
63+
mkl_impl_fn=mkl_impl_fn,
6064
)
6165

6266
def __call__(self, x, out=None):
@@ -110,6 +114,6 @@ def __call__(self, x, out=None):
110114
ufi._erf_result_type,
111115
ufi._erf,
112116
_ERF_DOCSTRING,
113-
# mkl_fn_to_call="_mkl_erf_to_call",
114-
# mkl_impl_fn="_erf",
117+
mkl_fn_to_call="_mkl_erf_to_call",
118+
mkl_impl_fn="_erf",
115119
)

0 commit comments

Comments
 (0)