Skip to content

Added tests to verify that devicelib APIs have no 'noinline' attribute. #2847

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 1 commit into from
Dec 3, 2020
Merged

Added tests to verify that devicelib APIs have no 'noinline' attribute. #2847

merged 1 commit into from
Dec 3, 2020

Conversation

vzakhari
Copy link
Contributor

@vzakhari vzakhari commented Dec 2, 2020

Device compilers may (and should) honor 'noinline' attribute
even when optimizations are turned on. At the same time, we do not want
to prevent inlining of devicelib wrappers and fallback implementations,
since this may result in degraded performance. These tests verify that
the devicelib APIs are not marked with 'noinline' attribute.

Signed-off-by: Vyacheslav Zakharin [email protected]

Device compilers may (and should) honor 'noinline' attribute
even when optimizations are turned on. At the same time, we do not want
to prevent inlining of devicelib wrappers and fallback implementations,
since this may result in degraded performance. These tests verify that
the devicelib APIs are not marked with 'noinline' attribute.

Signed-off-by: Vyacheslav Zakharin <[email protected]>
@vzakhari vzakhari requested review from bader and jinge90 December 2, 2020 05:44
@vzakhari
Copy link
Contributor Author

vzakhari commented Dec 2, 2020

Thank you for the review, @bader. The composite-spec-const fails have nothing to do with this change-set. How do I proceed with the merge?

@bader
Copy link
Contributor

bader commented Dec 2, 2020

Don't we need to get an approval from @jinge90?

@vzakhari
Copy link
Contributor Author

vzakhari commented Dec 2, 2020

Don't we need to get an approval from @jinge90?

Sure, I will wait for @jinge90's approval. I was asking in advance. If you are able to merge this after Ge's approval, then I do not have any more questions :-)

@bader
Copy link
Contributor

bader commented Dec 2, 2020

If you are able to merge this after Ge's approval, then I do not have any more questions :-)

Yes. I can merge if Ge approves.

@bader bader merged commit 7f3801b into intel:sycl Dec 3, 2020
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.

3 participants