Skip to content

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jan 21, 2025

The PR proposes to add descending keyword argument to sorting functions, including dpnp.sort, dpnp.argsort and dpnp.ndarray.sort, dpnp.ndarray.argsort methods.

The keyword is mandated according to python array API. The corresponding muted tests are enabled in python array API compliance scope.

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

@antonwolfy antonwolfy self-assigned this Jan 21, 2025
@coveralls
Copy link
Collaborator

coveralls commented Jan 21, 2025

Coverage Status

coverage: 70.856%. remained the same
when pulling f200348 on add-descending-argument-to-sort-argsort
into 356184a on master.

@antonwolfy antonwolfy marked this pull request as ready for review January 21, 2025 12:30
Copy link
Contributor

github-actions bot commented Jan 21, 2025

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

Copy link
Contributor

@vtavana vtavana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @antonwolfy!

@antonwolfy antonwolfy merged commit d415fe2 into master Jan 22, 2025
46 of 53 checks passed
@antonwolfy antonwolfy deleted the add-descending-argument-to-sort-argsort branch January 22, 2025 08:08
github-actions bot added a commit that referenced this pull request Jan 22, 2025
…2269)

The PR proposes to add `descending` keyword argument to sorting
functions, including `dpnp.sort`, `dpnp.argsort` and
`dpnp.ndarray.sort`, `dpnp.ndarray.argsort` methods.

The keyword is mandated according to python array API. The corresponding
muted tests are enabled in python array API compliance scope. d415fe2
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