Skip to content

Excised use of DPCTL_COVERAGE preprocessor variable #840

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

Merged
merged 3 commits into from
May 19, 2022

Conversation

oleksandr-pavlyk
Copy link
Contributor

Enabled code previously excluded due to use of DPCTL_COVERAGE variable to work around issues in compiler which have now been addressed.

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

…e to work around issues in compiler which have now been addressed
@oleksandr-pavlyk oleksandr-pavlyk changed the title Excised use of DPCTL_COVERAGE preprocessor variable. Excised use of DPCTL_COVERAGE preprocessor variable May 18, 2022
@oleksandr-pavlyk
Copy link
Contributor Author

This PR activates a number of tests previously excluded to work around issues in the compiler toolchain.

@github-actions
Copy link

@coveralls
Copy link
Collaborator

coveralls commented May 18, 2022

Coverage Status

Coverage increased (+0.08%) to 82.899% when pulling 571bcaf on get-rid-of-dpctl-coverage-clutch into fbe078e on master.

Straightforward attempt to transition from using deprecated sycl::program
to kernel_bundle caused crashes. SYCL spec stipulates that cgh.parallel_for(.., kernel)
is intended for interoperability kernels only, and dpcpp_kernels.hpp was creating
non-interoperability kernel objects.

The intent of dpcpp_kernels was improve test coverage of syclinterface, but this
was addressed by also collecting library coverage info when running pytests
@oleksandr-pavlyk oleksandr-pavlyk force-pushed the get-rid-of-dpctl-coverage-clutch branch from e4392d6 to 414b209 Compare May 18, 2022 21:53
@oleksandr-pavlyk oleksandr-pavlyk force-pushed the get-rid-of-dpctl-coverage-clutch branch from 414b209 to 571bcaf Compare May 18, 2022 22:52
@oleksandr-pavlyk oleksandr-pavlyk merged commit b05e041 into master May 19, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the get-rid-of-dpctl-coverage-clutch branch May 19, 2022 11:37
@github-actions
Copy link

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

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