Skip to content

Mark compiler ITT wrappers with always_inline. #3807

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 2 commits into from
May 26, 2021
Merged

Mark compiler ITT wrappers with always_inline. #3807

merged 2 commits into from
May 26, 2021

Conversation

vzakhari
Copy link
Contributor

Compiler generated ITT annotations may interfere with debugging
the instrumented user code even in non-ITT mode (when ITT is disabled
via the specialization constant). This change marks the wrappers
used by the compiler generated code with always_inline so that
device compiler are able to get rid of the extra code in non-ITT mode.

Signed-off-by: Vyacheslav Zakharin vyacheslav.p.zakharin@intel.com

Compiler generated ITT annotations may interfere with debugging
the instrumented user code even in non-ITT mode (when ITT is disabled
via the specialization constant). This change marks the wrappers
used by the compiler generated code with always_inline so that
device compiler are able to get rid of the extra code in non-ITT mode.

Signed-off-by: Vyacheslav Zakharin <vyacheslav.p.zakharin@intel.com>
@vzakhari vzakhari requested a review from jinge90 as a code owner May 24, 2021 18:18
@vzakhari vzakhari requested review from romanovvlad and MrSidims May 24, 2021 18:18
Signed-off-by: Vyacheslav Zakharin <vyacheslav.p.zakharin@intel.com>
@bader bader merged commit af1e131 into intel:sycl May 26, 2021
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.

5 participants