Skip to content

Commit 8c9ce62

Browse files
committed
Remove the dedicated erf kernel for half dtype due to accuracy of the result, mismatching scipy
1 parent dc75465 commit 8c9ce62

File tree

1 file changed

+1
-2
lines changed
  • dpnp/backend/extensions/ufunc/elementwise_functions

1 file changed

+1
-2
lines changed

dpnp/backend/extensions/ufunc/elementwise_functions/erf.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ template <typename T>
6363
struct OutputType
6464
{
6565
using value_type =
66-
typename std::disjunction<td_ns::TypeMapResultEntry<T, sycl::half>,
67-
td_ns::TypeMapResultEntry<T, float>,
66+
typename std::disjunction<td_ns::TypeMapResultEntry<T, float>,
6867
td_ns::TypeMapResultEntry<T, double>,
6968
td_ns::DefaultResultEntry<void>>::result_type;
7069
};

0 commit comments

Comments
 (0)