Skip to content

Conversation

@v-klochkov
Copy link
Contributor

The variable is expected to set to 0 or a positive number.
The bigger the value/level the more warnings and hints the RT may emit.
This patch adds -disable-finalizer-msg to vc-codegen to disable
warnings/hints from vc-codegen about spilling some registers to memory,
which are performance hints and often not wanted in std output by default.

Signed-off-by: Vyacheslav N Klochkov [email protected]

@v-klochkov
Copy link
Contributor Author

The E2E test for this patch is: intel/llvm-test-suite#557

@v-klochkov v-klochkov marked this pull request as ready for review November 9, 2021 05:23
@v-klochkov v-klochkov requested review from a team, bader and pvchupin as code owners November 9, 2021 05:23
@v-klochkov v-klochkov requested a review from s-kanaev November 9, 2021 05:23
@v-klochkov v-klochkov force-pushed the esimd_non_critical_messages branch from 9e20b63 to bb20d63 Compare November 9, 2021 06:05
s-kanaev
s-kanaev previously approved these changes Nov 9, 2021
Copy link
Contributor

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

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

RT part LGTM

kbobrovs
kbobrovs previously approved these changes Nov 9, 2021
@v-klochkov
Copy link
Contributor Author

/verify with intel/llvm-test-suite#557

kbobrovs
kbobrovs previously approved these changes Nov 16, 2021
pvchupin
pvchupin previously approved these changes Nov 16, 2021
Copy link
Contributor

@pvchupin pvchupin left a comment

Choose a reason for hiding this comment

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

doc ok

s-kanaev
s-kanaev previously approved these changes Nov 30, 2021
Copy link
Contributor

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

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

RT changes LGTM.

@v-klochkov v-klochkov dismissed stale reviews from s-kanaev, pvchupin, and kbobrovs via ee7fe3e December 6, 2021 18:38
@bader
Copy link
Contributor

bader commented Dec 30, 2021

@v-klochkov, please, fix pre-commit failures.

@v-klochkov v-klochkov requested a review from a team as a code owner January 4, 2022 17:53
@v-klochkov
Copy link
Contributor Author

@v-klochkov, please, fix pre-commit failures.

The tests fail because the GPU driver in CI is very old (21636 on Linux). It fails with "-disable-finalizer-msg" is not recognized switch/option.
So, I keep updating this PR and waiting for new GPU driver.

kbobrovs
kbobrovs previously approved these changes Jan 12, 2022
@bader
Copy link
Contributor

bader commented Jan 12, 2022

/verify with intel/llvm-test-suite#557

Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

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

Documentation update looks okay, just a few minor nits.
I'd like @pvchupin to approve as well before merging this pull request.

pvchupin
pvchupin previously approved these changes Jan 12, 2022
Copy link
Contributor

@pvchupin pvchupin left a comment

Choose a reason for hiding this comment

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

LGTM.
+1 on nits :)

@v-klochkov v-klochkov dismissed stale reviews from pvchupin and kbobrovs via 1684ad1 January 12, 2022 20:42
bader
bader previously approved these changes Jan 12, 2022
@v-klochkov v-klochkov changed the title [ESIMD] Add a new environment variable SYCL_RT_WARNING_LEVEL [ESIMD] Disable non-critical messages from VC backend (disable-finalizer-msg) Feb 25, 2022
@v-klochkov
Copy link
Contributor Author

/verify with intel/llvm-test-suite#557

kbobrovs
kbobrovs previously approved these changes Feb 28, 2022
@v-klochkov
Copy link
Contributor Author

/verify with intel/llvm-test-suite#557

1 similar comment
@v-klochkov
Copy link
Contributor Author

/verify with intel/llvm-test-suite#557

kbobrovs
kbobrovs previously approved these changes Mar 3, 2022
romanovvlad
romanovvlad previously approved these changes Mar 3, 2022
…zer-msg)

1. Add doc for the existing environment variable SYCL_RT_WARNING_LEVEL.
2. Add -disable-finalizer-msg to vc-codegen to disable warnings/hints from vc-codegen
about spilling some registers to memory, which are performance hints and often not wanted
in std output by default.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>
@v-klochkov v-klochkov dismissed stale reviews from romanovvlad and kbobrovs via c1ac7dc March 3, 2022 15:39
@v-klochkov v-klochkov force-pushed the esimd_non_critical_messages branch from edb3e64 to c1ac7dc Compare March 3, 2022 15:39
@v-klochkov
Copy link
Contributor Author

Force-pushed the changes to avoid the mess in the commits (217 were accumulated) and to re-start the testing.

Copy link
Contributor

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

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

RT changes LGTM

@vladimirlaz vladimirlaz merged commit 2741010 into intel:sycl Mar 5, 2022
@v-klochkov v-klochkov deleted the esimd_non_critical_messages branch March 8, 2022 13:46
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.

7 participants