Skip to content

Backport gh-1693 to maintenance/0.17.x branch - #1694

Merged
oleksandr-pavlyk merged 2 commits into
maintenance/0.17.xfrom
backport-fix-for-searchsorted
May 23, 2024
Merged

oleksandr-pavlyk merged 2 commits into
maintenance/0.17.xfrom
backport-fix-for-searchsorted

Conversation

@oleksandr-pavlyk

Copy link
Copy Markdown
Contributor

Fix tensor.searchsorted for x1 with strides and scalar (0D) x2 (#1693)

  • 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?

…1693)

* Adds code to handle edge case of strided input and scalar `needle` in `searchsorted.cpp`

* Adds a test for fix to gh-1689
@github-actions

github-actions Bot commented May 23, 2024 •

Copy link
Copy Markdown

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

@oleksandr-pavlyk
oleksandr-pavlyk merged commit cd5e7f7 into maintenance/0.17.x May 23, 2024
@oleksandr-pavlyk
oleksandr-pavlyk deleted the backport-fix-for-searchsorted branch May 23, 2024 11:33
@oleksandr-pavlyk
oleksandr-pavlyk restored the backport-fix-for-searchsorted branch May 23, 2024 11:33
@oleksandr-pavlyk
oleksandr-pavlyk deleted the backport-fix-for-searchsorted branch May 23, 2024 11:33
oleksandr-pavlyk added a commit that referenced this pull request Jul 17, 2024
@oleksandr-pavlyk oleksandr-pavlyk mentioned this pull request Jul 17, 2024
1 of 6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants