-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reuse dpctl.tensor.floor_divide() function. #1427
Conversation
@@ -767,42 +768,7 @@ def floor_divide(x1, x2, dtype=None, out=None, where=True, **kwargs): | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update an example, since the output has different format now
@@ -147,9 +147,10 @@ def test_divide(self, dtype, lhs, rhs): | |||
def test_fmod(self, dtype, lhs, rhs): | |||
self._test_mathematical('fmod', dtype, lhs, rhs) | |||
|
|||
@pytest.mark.usefixtures("allow_fall_back_on_numpy") | |||
@pytest.mark.parametrize("dtype", get_all_dtypes(no_bool=True, no_complex=True)) | |||
@pytest.mark.parametrize("dtype", get_all_dtypes(no_complex=True)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we unmute tests from tests/third_party/cupy/math_tests/test_arithmetic.py ?
blocked by issue in dpctl #1247 |
Reused dpctl.tensor.floor_divide() function.
Fixed crash for device without support double precision.
Added tests.
The PR is about to close #1404.