Skip to content

[SYCL] Use correct scalar types for vector elements on Windows [revised] #545

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

Conversation

sndmitriev
Copy link
Contributor

Implementation uses wrong types for 64-bit integers on Windows for vector
elements because '[unsigned] long' is being used. But on Windows 'long'
has 32 bits as opposed to 64 bits on Linux. This patch corrects this
problem.

This is a revised fix for the earlier commit e933485. Previous change
is reverted.

Signed-off-by: Sergey Dmitriev [email protected]

v-klochkov
v-klochkov previously approved these changes Aug 23, 2019
Copy link

@mibintc mibintc left a comment

Choose a reason for hiding this comment

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

This looks like the changes which I made to generic-type-traits, but @bader requested that @alexeyvoronov rewrite the patch differently.

mibintc
mibintc previously approved these changes Aug 26, 2019
Copy link

@mibintc mibintc left a comment

Choose a reason for hiding this comment

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

slava requested that i unblock

@sndmitriev sndmitriev dismissed stale reviews from mibintc and v-klochkov via 3ac98bd August 26, 2019 15:43
@sndmitriev sndmitriev force-pushed the public/sndmitriev/long-long-types-new branch 2 times, most recently from 3ac98bd to 6b30e73 Compare August 26, 2019 16:32
v-klochkov
v-klochkov previously approved these changes Aug 27, 2019
@sndmitriev
Copy link
Contributor Author

Looks like the LIT test fail (vector_math.cpp) on buildbot/sycl-ubu-x64-pr has nothing to do with this patch. Is it expected to fail now?

@alexeyvoronov-intel
Copy link
Contributor

Looks like the LIT test fail (vector_math.cpp) on buildbot/sycl-ubu-x64-pr has nothing to do with this patch. Is it expected to fail now?

Yes, now this test disabled. Please rebase your patch.

Implementation uses wrong types for 64-bit integers on Windows for vector
elements because '[unsigned] long' is being used. But on Windows 'long'
has 32 bits as opposed to 64 bits on Linux. This patch corrects this
problem.

This is a revised fix for the earlier commit e933485. Previous change
is reverted.

Signed-off-by: Sergey Dmitriev <[email protected]>
@sndmitriev sndmitriev force-pushed the public/sndmitriev/long-long-types-new branch from 6b30e73 to c2f37cc Compare August 27, 2019 15:38
@v-klochkov v-klochkov merged commit b4998f2 into intel:sycl Aug 27, 2019
@sndmitriev sndmitriev deleted the public/sndmitriev/long-long-types-new branch December 22, 2020 02:36
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