Skip to content
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

test_kernel_image_methods failed #2203

Open
kiva-000 opened this issue Dec 26, 2024 · 0 comments
Open

test_kernel_image_methods failed #2203

kiva-000 opened this issue Dec 26, 2024 · 0 comments

Comments

@kiva-000
Copy link

} while ((imageInfo.rowPitch % pixelSize) != 0);

As a result, the value of the imageInfo.rowPitch variable is greater than the value of imageInfo.width multiplied by pixelSize. The size of the buffer created by the clCreateBuffer function in line 73 is imageInfo->width * get_pixel_size(imageInfo->format), which does not meet the requirement on the size of host_ptr in the specifications.

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

No branches or pull requests

1 participant