-
Notifications
You must be signed in to change notification settings - Fork 29
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
dpctl.tensor.put returns incorrect result #1360
Labels
bug
Something isn't working
Comments
|
6 tasks
6 tasks
oleksandr-pavlyk
added a commit
that referenced
this issue
Apr 23, 2024
Document race condition in put when indices array contain duplicated. Provide an example of resolving race condition for 1-d ``x``, ``indices``, and ``vals``.
oleksandr-pavlyk
added a commit
that referenced
this issue
Apr 23, 2024
Addresses gh-1360 with documentation
#1653 adds a docstring note for dpt.put warning of the race condition, and provides sample code for resolving it for 1D case. This addition resolves this issue, which we intend to closed in a few days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code below works incorrectly in dpctl when
dpctl.tensor.put
needs to rewrite the duplicate index of an element with a different valueThe text was updated successfully, but these errors were encountered: