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

Adds nin and nout properties to unary and binary element-wise classes #1478

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

ndgrigorian
Copy link
Collaborator

The nin and nout properties return the number of arguments to the element-wise function treated as inputs or outputs, respectively.

nout is always 1 for both unary and binary functions, as both cases permit an out keyword argument.

  • 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?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you opening the PR as a draft?

`nin` and `nout` properties return the number of arguments
to the function treated as inputs or outputs, respectively
Copy link

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 85.962% (+0.02%) from 85.942%
when pulling ad258b8 on nin-nout-properties
into 5ec9fd5 on master.

Copy link

Array API standard conformance tests for dpctl=0.15.1dev2=py310h15de555_19 ran successfully.
Passed: 875
Failed: 56
Skipped: 59

@ndgrigorian ndgrigorian merged commit 0b63d4f into master Dec 6, 2023
@ndgrigorian ndgrigorian deleted the nin-nout-properties branch December 22, 2023 19:59
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