Skip to content

Overloads for array-scalar and scalar-array broadcast element-wise functions #1815

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

Closed
wants to merge 4 commits into from

Conversation

ndgrigorian
Copy link
Collaborator

Supersedes #1814

This pull request implements overloads for broadcast arrays and scalars for element-wise functions, and adds kernels for these overloads for addition.

Also refactors how the type maps for in-place operators are implemented to improve code readability.

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

Copy link

github-actions bot commented Aug 27, 2024

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

Copy link

Array API standard conformance tests for dpctl=0.18.0dev0=py310hdf72452_384 ran successfully.
Passed: 869
Failed: 26
Skipped: 119

Copy link

Array API standard conformance tests for dpctl=0.18.0dev0=py310hdf72452_374 ran successfully.
Passed: 868
Failed: 27
Skipped: 119

@ndgrigorian ndgrigorian force-pushed the scalar-overloads-for-elementwise-funcs branch from c3f411b to 72809a4 Compare August 28, 2024 02:00
Copy link

Array API standard conformance tests for dpctl=0.18.0dev0=py310hdf72452_374 ran successfully.
Passed: 894
Failed: 1
Skipped: 119

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 87.9%. remained the same
when pulling 72809a4 on scalar-overloads-for-elementwise-funcs
into 2588eb5 on master.

@ndgrigorian
Copy link
Collaborator Author

Superseded by #1815

Array-scalar and scalar-array overloads to be investigated further for possibility of performance optimization.

@ndgrigorian ndgrigorian deleted the scalar-overloads-for-elementwise-funcs branch September 10, 2024 02:52
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