Skip to content

[ESIMD][NFC] Remove some unused HOST code #12122

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 8, 2023

Conversation

v-klochkov
Copy link
Contributor

@v-klochkov v-klochkov commented Dec 8, 2023

It is cascade removal of some unused code after removing esimd/detail/host_util.hpp and removing __ESIMD_EMU_DNS namespace.
Even with this change ESIMD headers still have lots of unused HOST-only code.

Signed-off-by: Klochkov, Vyacheslav N <[email protected]>
@v-klochkov v-klochkov force-pushed the esimd_host_code_removal_nfc branch from 9ebf9c4 to d1eb2e4 Compare December 8, 2023 08:48
@v-klochkov v-klochkov changed the title [ESIMD][NFC] Remove some unusable HOST code [ESIMD][NFC] Remove some unused HOST code Dec 8, 2023
@v-klochkov v-klochkov marked this pull request as ready for review December 8, 2023 15:55
@v-klochkov v-klochkov requested a review from a team as a code owner December 8, 2023 15:55
#define __ESIMD_INTRIN_END ;
#else
#define __ESIMD_INTRIN_END \
{ __ESIMD_UNSUPPORTED_ON_HOST; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you beat me to this one, nice!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are still many intrinsics not using this new __ESIMD_INTRIN_END macro yet.
This macro was convenient for this mini clean-up fix.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah ok nice, I will use the internal tracker assigned to me to port the rest of them to the macro

@v-klochkov v-klochkov merged commit 7528ef0 into intel:sycl Dec 8, 2023
@v-klochkov v-klochkov deleted the esimd_host_code_removal_nfc branch December 8, 2023 16:34
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.

2 participants