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

[ESIMD] Add ahead-of-time compilation test. #523

Merged
merged 1 commit into from
Oct 20, 2021
Merged

[ESIMD] Add ahead-of-time compilation test. #523

merged 1 commit into from
Oct 20, 2021

Conversation

kbobrovs
Copy link

Signed-off-by: Konstantin S Bobrovsky [email protected]

Signed-off-by: Konstantin S Bobrovsky <[email protected]>
@kbobrovs kbobrovs requested a review from v-klochkov as a code owner October 19, 2021 23:33
Copy link

@v-klochkov v-klochkov left a comment

Choose a reason for hiding this comment

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

Looks good, I have only 1 minor comment/question.


using namespace cl::sycl;

#ifndef ENABLE_SIMD

Choose a reason for hiding this comment

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

It is unclear here, why this macro is needed? It is just turned on in the next line all the time because it is not set in the compilation line. Is it supposed to be disabled some time later? It may be good to have a TODO comment here.

Copy link
Author

Choose a reason for hiding this comment

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

ENABLE_SIMD/ENABLE_SYCL are used to enable/disable corresponding parts in the test. e.g. -DENABLE_SYCL=0 disables the SYCL part, which is used in one of the RUN: commands above.

Choose a reason for hiding this comment

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

I see how ENABLE_SYCL is either set to 0 or unset in the command line, but ENABLE_SIMD is not used in the command line right now, so it is always set to 1 in the line 34, right?

Copy link
Author

Choose a reason for hiding this comment

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

Right. ENABLE_SIMD is just for convenience for somebody who would want to try.

@kbobrovs kbobrovs merged commit 14e781e into intel:intel Oct 20, 2021
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.

2 participants