Skip to content

Conversation

@npolina4
Copy link
Contributor

@npolina4 npolina4 commented May 8, 2024

Updated docs and implementation of indexing functions:
dpnp.diag_indices,
dpnp.diag_indices_from,
dpnp.fill_diagonal,
dpnp.tril_indices,
dpnp.tril_indices_from,
dpnp.triu_indices,
dpnp.triu_indices_from.

Implemented dpnp.mask_indices function.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to 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 filing the PR as a draft?

@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2024

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@npolina4
Copy link
Contributor Author

Test tests/third_party/cupy/indexing_tests/test_generate.py::TestTriuIndicesFrom::test_triu_indices_from_1 fixed by IntelPython/dpctl#1681

@antonwolfy
Copy link
Contributor

Test tests/third_party/cupy/indexing_tests/test_generate.py::TestTriuIndicesFrom::test_triu_indices_from_1 fixed by IntelPython/dpctl#1681

Do you know when the fix will be available in internal channel?

@antonwolfy antonwolfy merged commit b4578dd into master May 22, 2024
@antonwolfy antonwolfy deleted the update_indices branch May 22, 2024 17:05
github-actions bot added a commit that referenced this pull request May 22, 2024
* Update indexing functions

* Add CFD and tests

* Improve code coverage

* address comments

* address comments

* Added commit

---------

Co-authored-by: Anton <[email protected]> b4578dd
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