Skip to content

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

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
Aug 13, 2019

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.

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

@sndmitriev sndmitriev requested a review from bader August 11, 2019 16:18
v-klochkov
v-klochkov previously approved these changes Aug 12, 2019
@sndmitriev
Copy link
Contributor Author

Removed -fsycl

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.

Signed-off-by: Sergey Dmitriev <[email protected]>
@sndmitriev sndmitriev force-pushed the public/sndmitriev/long-long-types branch from a1ed673 to e933485 Compare August 12, 2019 17:35
@sndmitriev sndmitriev requested a review from asavonic August 13, 2019 14:59
@v-klochkov v-klochkov merged commit 336cb82 into intel:sycl Aug 13, 2019
@sndmitriev sndmitriev deleted the public/sndmitriev/long-long-types branch December 22, 2020 02:38
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