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

Use -O0 alongside -ggdb3 to address compiler warning #952

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

oleksandr-pavlyk
Copy link
Collaborator

Running the documentation generation workflow I encountered the following compilation warnings:

icpx: warning: Note that use of '-ggdb3' without any optimization-level \
     option will turn off most compiler optimizations similar to use of \
     '-O0' [-Wdebug-disables-optimization]

This change addressed the warning.

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

Running the documentation generation workflow I encountered the following
compilation warnings:

```
icpx: warning: Note that use of '-ggdb3' without any optimization-level \
     option will turn off most compiler optimizations similar to use of \
     '-O0' [-Wdebug-disables-optimization]
```

This change addressed the warning.
@github-actions
Copy link

@coveralls
Copy link
Collaborator

Coverage Status

Coverage remained the same at 82.058% when pulling 0750d65 on fix-compilation-warning-in-gen-docs into d6b7c66 on master.

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.0dev0=py310h8c27c75_211 ran successfully.
Passed: 33
Failed: 801
Skipped: 3138

@oleksandr-pavlyk oleksandr-pavlyk merged commit fcca59e into master Oct 26, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the fix-compilation-warning-in-gen-docs branch October 26, 2022 19:20
@github-actions
Copy link

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

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.0dev0=py310h8c27c75_222 ran successfully.
Passed: 33
Failed: 801
Skipped: 3138

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