Skip to content

Fix main script - #1614

Merged
oleksandr-pavlyk merged 2 commits into
masterfrom
fix-main-script
Mar 28, 2024
Merged

oleksandr-pavlyk merged 2 commits into
masterfrom
fix-main-script

Conversation

@oleksandr-pavlyk

Copy link
Copy Markdown
Contributor

Output of python -m dpctl --library incorrectly output -lSyclInterface. It should have been -lDPCTLSyclInterface.

This PR changes the output, adjusts docstrings to use correct library name and modifies test to assert that the expected library name occurs as a substring in the output.

This fix should be backported to 0.16.1

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

It outputed -lSyclInterface, which should be -lDPCTLSyclInterface

Modified docstrings throughout to use correct library name
@github-actions

github-actions Bot commented Mar 27, 2024 •

Copy link
Copy Markdown

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

@github-actions

Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_154 ran successfully.
Passed: 839
Failed: 0
Skipped: 92

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 87.952%. remained the same
when pulling 3938e72 on fix-main-script
into e22412f on master.

@ndgrigorian ndgrigorian left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Break in examples is unrelated, this works as expected for me locally, so LGTM!

@oleksandr-pavlyk
oleksandr-pavlyk merged commit ea9ac71 into master Mar 28, 2024
@oleksandr-pavlyk
oleksandr-pavlyk deleted the fix-main-script branch March 28, 2024 02:20
oleksandr-pavlyk added a commit that referenced this pull request Mar 28, 2024
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