Skip to content

[SYCL][Driver] Fix sycl_esimd option #3313

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
Mar 7, 2021
Merged

[SYCL][Driver] Fix sycl_esimd option #3313

merged 1 commit into from
Mar 7, 2021

Conversation

smanna12
Copy link
Contributor

@smanna12 smanna12 commented Mar 5, 2021

The SYCL option did not set correctly and was lost during pulldown
conflict here: a52d3d3

This patch replaces OptInFFlag with BoolFOption and sets the option correctly.

Signed-off-by: Soumi Manna [email protected]

The SYCL option did not set correctly and was lost during pulldown
conflict here: intel@a52d3d3

This patch replaces OptInFFlag with BoolFOption ans sets the option correctly.

Signed-off-by: Soumi Manna <[email protected]>
@smanna12
Copy link
Contributor Author

smanna12 commented Mar 5, 2021

Here are some notes for the reviewers:

There is already a test for "-fsycl-explicit-simd" option inside sycl-offload.c file, so I did not add any test here.

We had this before a52d3d3:

def fsycl_esimd : Flag<["-"], "fsycl-explicit-simd">, Group<sycl_Group>, Flags<[CC1Option, NoArgumentUnused, CoreOption]>,
HelpText<"Enable SYCL explicit SIMD extension">;
def fno_sycl_esimd : Flag<["-"], "fno-sycl-explicit-simd">, Group<sycl_Group>,
HelpText<"Disable SYCL explicit SIMD extension">, Flags<[NoArgumentUnused, CoreOption]>;

@smanna12 smanna12 marked this pull request as ready for review March 5, 2021 22:15
Copy link
Contributor

@mdtoguchi mdtoguchi left a comment

Choose a reason for hiding this comment

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

LGTM

@smanna12
Copy link
Contributor Author

smanna12 commented Mar 5, 2021

LGTM

Thanks Mike

@bader bader merged commit 4127426 into intel:sycl Mar 7, 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.

3 participants