Skip to content
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

Feature/advanced indexing #1095

Merged
merged 61 commits into from
Mar 4, 2023
Merged

Conversation

oleksandr-pavlyk
Copy link
Collaborator

This is a draft PR with advance indexing implementation.

  • 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?
  • If this PR is a work in progress, are you filing the PR as a draft?

oleksandr-pavlyk and others added 30 commits February 15, 2023 13:47
- Kernels for _take, _put
- Python API functions for take, put
- Clipping now clips indices to -n <= i < n for n = axis size
- Fixed a segfault caused by a typo when copying strides
- Moved indices validation to avoid memory leaks
- Refactored for loop over orthogonal elements of shapes
- Direct initialization of sycl::event vectors
- Tests include
- strided data for take and put
- strided indices for take and put
- indexing compute follows data
- indexing argument validation
- Error for non-integer usm_ndarrays used as indices changed to IndexError
@github-actions
Copy link

github-actions bot commented Mar 2, 2023

@coveralls
Copy link
Collaborator

coveralls commented Mar 2, 2023

Coverage Status

Coverage: 82.363% (+0.05%) from 82.316% when pulling 13c5db7 on feature/advanced-indexing into bc78431 on master.

@github-actions
Copy link

github-actions bot commented Mar 2, 2023

Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_112 ran successfully.
Passed: 35
Failed: 799
Skipped: 280

oleksandr-pavlyk and others added 7 commits March 2, 2023 19:35
Implemented mask_positions, _extract, _place, _nonzero and _array_overlap
APIs.
This allows to implement behavior of place which cycles over
values of val array if that is shorter than the number of non-zero
elements in the mask.
- Host_tasks now collected and used as dependencies for dec_ref of py arguments
- Return temporaries deallocation event to further prevent dangling host_tasks
@github-actions
Copy link

github-actions bot commented Mar 3, 2023

Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_113 ran successfully.
Passed: 35
Failed: 799
Skipped: 280

@github-actions
Copy link

github-actions bot commented Mar 3, 2023

Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_122 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@github-actions
Copy link

github-actions bot commented Mar 4, 2023

Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_123 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

ndgrigorian and others added 2 commits March 3, 2023 17:21
- Improved conformity to array API standard
- Added docstrings
@oleksandr-pavlyk oleksandr-pavlyk merged commit 1ac92d8 into master Mar 4, 2023
@oleksandr-pavlyk oleksandr-pavlyk deleted the feature/advanced-indexing branch March 4, 2023 05:23
@github-actions
Copy link

github-actions bot commented Mar 4, 2023

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

@github-actions
Copy link

github-actions bot commented Mar 4, 2023

Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_124 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@github-actions
Copy link

github-actions bot commented Mar 4, 2023

Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_125 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

1 similar comment
@github-actions
Copy link

github-actions bot commented Mar 4, 2023

Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_125 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

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.

3 participants