Closed oleksandr-pavlyk closed 1 month ago
Fix tensor.searchsorted for x1 with strides and scalar (0D) x2 (#1693)
tensor.searchsorted
x1
x2
Adds code to handle edge case of strided input and scalar needle in searchsorted.cpp
needle
searchsorted.cpp
Adds a test for fix to gh-1689
[x] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[ ] Have you made sure that new changes do not introduce compiler warnings?
[ ] Have you checked performance impact of proposed changes?
[ ] If this PR is a work in progress, are you opening the PR as a draft?
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. :crossed_fingers:
Fix
tensor.searchsorted
forx1
with strides and scalar (0D)x2
(#1693)Adds code to handle edge case of strided input and scalar
needle
insearchsorted.cpp
Adds a test for fix to gh-1689
[x] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[ ] Have you made sure that new changes do not introduce compiler warnings?
[ ] Have you checked performance impact of proposed changes?
[ ] If this PR is a work in progress, are you opening the PR as a draft?