Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Add E2E tests for device code instrumentation #484

Merged
merged 7 commits into from
Oct 5, 2021

Conversation

AGindinson
Copy link

Add a couple tests with execute-only kernels to ensure that ITT
annotations' generation doesn't break the compilation/execution.

This aims to test intel/llvm#4615.

Signed-off-by: Artem Gindinson [email protected]

Artem Gindinson added 2 commits September 28, 2021 14:15
Add a couple tests with execute-only kernels to ensure that ITT
annotations' generation doesn't break the compilation/execution.

This aims to test intel/llvm#4615.

Signed-off-by: Artem Gindinson <[email protected]>
Signed-off-by: Artem Gindinson <[email protected]>
@AGindinson
Copy link
Author

AGindinson commented Sep 28, 2021

The tests are non-breaking even w/o the product changes, so committing them and re-running Precommit for intel/llvm#4615 is a possibility. EDIT: Actually, the test changes are breaking, as the product changes include the fix for the required CLI option...

vladimirlaz
vladimirlaz previously approved these changes Sep 28, 2021
MrSidims
MrSidims previously approved these changes Sep 28, 2021
Signed-off-by: Artem Gindinson <[email protected]>
@AGindinson AGindinson dismissed stale reviews from MrSidims and vladimirlaz via 8f9c61d September 28, 2021 12:02
Signed-off-by: Artem Gindinson <[email protected]>
AlexeySachkov pushed a commit to intel/llvm that referenced this pull request Sep 29, 2021
- Fix the malfunctioning driver option for passing `-fsycl-instrument-device-code` to CC1
for SPIR-V-based targets.
- Add the ITT device libraries when the CLI option is enabled, excluding these from
`-fno-sycl-device-lib` effects.
- Disable ITT annotations for ESIMD code.

Tests are in intel/llvm-test-suite#484.

Signed-off-by: Artem Gindinson <[email protected]>
@AGindinson AGindinson requested a review from vzakhari September 29, 2021 18:46
@AGindinson
Copy link
Author

@vzakhari @vladimirlaz The CI has finally picked the correct nightly build of the compiler, so the patch should be good for the final review.

vladimirlaz
vladimirlaz previously approved these changes Oct 1, 2021
Signed-off-by: Artem Gindinson <[email protected]>
@vladimirlaz
Copy link

the fix for the failure is under #494

@vladimirlaz vladimirlaz merged commit f2771a6 into intel:intel Oct 5, 2021
@AGindinson AGindinson deleted the instr-device-code branch October 5, 2021 07:18
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants