Skip to content

Conversation

@oleksandr-pavlyk
Copy link
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
Copy link

github-actions bot commented May 23, 2024

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