Skip to content

Added dpctl.tensor.tril and dpctl.tensor.triu feature - #910

Merged
oleksandr-pavlyk merged 6 commits into
masterfrom
added_tril_and_triu
Sep 17, 2022
Merged

oleksandr-pavlyk merged 6 commits into
masterfrom
added_tril_and_triu

Conversation

@npolina4

@npolina4 npolina4 commented Sep 15, 2022 •

Copy link
Copy Markdown
Contributor

tril() function returns the lower triangular part of a matrix (or a stack of matrices) x and follows array API spec.
triu() function returns the upper triangular part of a matrix (or a stack of matrices) x and follows array API spec

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

@github-actions

Copy link
Copy Markdown

@coveralls

coveralls commented Sep 15, 2022 •

Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage increased (+0.1%) to 82.02% when pulling b9c560a on added_tril_and_triu into 4344c83 on master.

@github-actions

Copy link
Copy Markdown

Array API standard conformance tests failed to run for dpctl=0.14.0dev0=py310h8c27c75_109.

Comment thread dpctl/tensor/_ctors.py Resolved
Comment thread dpctl/tensor/_ctors.py Resolved
Comment thread dpctl/tensor/_ctors.py Resolved
Comment thread dpctl/tensor/_ctors.py Resolved
@npolina4 npolina4 changed the title WIP: Add dpctl.tensor.tril and dpctl.tensor.triu feature Added dpctl.tensor.tril and dpctl.tensor.triu feature Sep 16, 2022
@npolina4 npolina4 closed this Sep 16, 2022
@npolina4 npolina4 reopened this Sep 16, 2022
@npolina4
npolina4 marked this pull request as ready for review September 16, 2022 21:27
@github-actions

Copy link
Copy Markdown

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

@oleksandr-pavlyk
oleksandr-pavlyk self-requested a review September 16, 2022 21:51
Comment thread dpctl/tensor/_ctors.py Resolved
@github-actions

Copy link
Copy Markdown

Array API standard conformance tests failed to run for dpctl=0.14.0dev0=py310h8c27c75_114.

@oleksandr-pavlyk
oleksandr-pavlyk self-requested a review September 16, 2022 21:55
@github-actions

Copy link
Copy Markdown

Array API standard conformance tests failed to run for dpctl=0.14.0dev0=py310h8c27c75_114.

@oleksandr-pavlyk oleksandr-pavlyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thank you @npolina4

@oleksandr-pavlyk
oleksandr-pavlyk merged commit a197a1d into master Sep 17, 2022
@oleksandr-pavlyk
oleksandr-pavlyk deleted the added_tril_and_triu branch September 17, 2022 03:12
@github-actions

Copy link
Copy Markdown

Array API standard conformance tests failed to run for dpctl=0.14.0dev0=py310h8c27c75_114.

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