Skip to content

[SYCL][Driver] Do not pass -fopenmp-simd to device compilations #4098

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
Jul 14, 2021

Conversation

premanandrao
Copy link
Contributor

When -fopenmp-simd is used in conjunction with -fsycl, device
compilation should not be passed -fopenmp-simd. Otherwise, it
leads to some common cases not being able to be compiled
(such as the definition of a function with a long double parameter).
This is already done for other openmp options.

When -fopenmp-simd is used in conjunction with -fsycl, device
compilation should not be passed -fopenmp-simd.   Otherwise, it
leads to some common cases not being able to be compiled
(such as the definition of a function with a long double parameter).
This is already done for other openmp options.
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. Thanks!

@bader bader changed the title [SYCL] Do not pass -fopenmp-simd to device compilations [SYCL][Driver] Do not pass -fopenmp-simd to device compilations Jul 14, 2021
@bader bader merged commit 226ed8b into intel:sycl Jul 14, 2021
@premanandrao premanandrao deleted the remote_simd_device branch July 14, 2021 14:06
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