Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update indexing functions#1814

Merged
antonwolfy merged 14 commits intomasterIntelPython/dpnp:masterfrom
update_indicesIntelPython/dpnp:update_indicesCopy head branch name to clipboard
May 22, 2024
Merged

Update indexing functions#1814
antonwolfy merged 14 commits intomasterIntelPython/dpnp:masterfrom
update_indicesIntelPython/dpnp:update_indicesCopy head branch name to clipboard

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

dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
dpnp/backend/kernels/dpnp_krnl_indexing.cpp Outdated Show resolved Hide resolved
dpnp/dpnp_algo/dpnp_algo_indexing.pxi Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
@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?

dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
dpnp/dpnp_iface_indexing.py Show resolved Hide resolved
@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 <100830759+antonwolfy@users.noreply.github.com> 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.