Skip to content

[libclc] Change _CLC_DECL to _CLC_DEF for some PTX builtin definitions #4580

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
Oct 26, 2021

Conversation

Naghasan
Copy link
Contributor

Change _CLC_DECL (meant for declaration) to _CLC_DEF.
The macro definition of _CLC_DEF adds an always_inline attribute
needed for optimizations.

Signed-off-by: Victor Lomuller victor@codeplay.com

@Naghasan Naghasan requested a review from bader as a code owner September 15, 2021 14:55
bader
bader previously approved these changes Sep 15, 2021
@bader bader added cuda CUDA back-end libclc libclc project related issues labels Sep 15, 2021
@bader
Copy link
Contributor

bader commented Sep 15, 2021

/summary:run

Change _CLC_DECL (meant for declaration) to _CLC_DEF.
The macro definition of _CLC_DEF adds an `always_inline` attribute
needed for optimizations.

Signed-off-by: Victor Lomuller <victor@codeplay.com>
@Naghasan
Copy link
Contributor Author

ping @bader :)

@bader bader self-requested a review October 26, 2021 08:09
@bader
Copy link
Contributor

bader commented Oct 26, 2021

/summary:run

@bader bader merged commit a536022 into intel:sycl Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda CUDA back-end libclc libclc project related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants