Skip to content

[SYCL] Fix image::get_size method #6637

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
Aug 24, 2022

Conversation

romanovvlad
Copy link
Contributor

@romanovvlad romanovvlad commented Aug 24, 2022

#6600 changed behavior of sycl::image::get_size() to return number of elements rather
than number of bytes which an image uses. This is not correct.
Changing it back and rename the internal method so it's
more clear about what it returns.

@romanovvlad romanovvlad requested a review from a team as a code owner August 24, 2022 14:01
@aelovikov-intel
Copy link
Contributor

I think some description in the PR is needed. It's not immediately clear from the diff what was the issue and why the fix isn't NFC. To me it looked like changing names without changing what the functions do.

@romanovvlad
Copy link
Contributor Author

I think some description in the PR is needed. It's not immediately clear from the diff what was the issue and why the fix isn't NFC. To me it looked like changing names without changing what the functions do.

Added.

@romanovvlad romanovvlad merged commit cdb0dfd into intel:sycl Aug 24, 2022
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.

2 participants