Skip to content

[SYCL] Align linkage in windows build. #1929

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
Jun 22, 2020

Conversation

s-kanaev
Copy link
Contributor

@s-kanaev s-kanaev commented Jun 19, 2020

This fixes compilation failure for windows, which resulted in error C2375: 'cl::sycl::opencl::make_platform': redefinition; different linkage.

@s-kanaev s-kanaev requested a review from a team as a code owner June 19, 2020 11:20
@s-kanaev s-kanaev requested a review from v-klochkov June 19, 2020 11:20
@s-kanaev s-kanaev marked this pull request as draft June 19, 2020 11:30
@s-kanaev s-kanaev force-pushed the private/s-kanaev/fix-4 branch 2 times, most recently from 476a6c3 to cc7ec98 Compare June 19, 2020 12:20
@s-kanaev s-kanaev marked this pull request as ready for review June 19, 2020 12:24
@s-kanaev s-kanaev force-pushed the private/s-kanaev/fix-4 branch from cc7ec98 to e1518f6 Compare June 19, 2020 17:51
context make_context(pi_native_handle NativeHandle);
program make_program(const context &Context, pi_native_handle NativeHandle);
queue make_queue(const context &Context, pi_native_handle InteropHandle);
__SYCL_EXPORT platform make_platform(pi_native_handle NativeHandle);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes compilation failure for windows, which resulted in error C2375: 'cl::sycl::opencl::make_platform': redefinition; different linkage.

@s-kanaev s-kanaev force-pushed the private/s-kanaev/fix-4 branch from e1518f6 to 6685d9f Compare June 22, 2020 09:49
@s-kanaev s-kanaev changed the title [SYCL] Include interop structure templates specialization [SYCL] Align linkage in windows build. Jun 22, 2020
@bader bader merged commit d8ec8b5 into intel:sycl Jun 22, 2020
@s-kanaev s-kanaev deleted the private/s-kanaev/fix-4 branch September 2, 2020 09:41
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.

4 participants