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

fix image/buffer max size #761

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rjodinchr
Copy link
Contributor

OpenCL-CTS is checking that image/buffer max size is below CL_DEVICE_MAX_MEM_ALLOC_SIZE.

@rjodinchr
Copy link
Contributor Author

switftshader artifact needs to be refreshed

@rjodinchr
Copy link
Contributor Author

In fact, it should even need to be the min with device->max_mem_alloc_size()/2 because the CTS doing a weird comparison with CL_DEVICE_MAX_MEM_ALLOC_SIZE/MAX_DEVICE_MEMORY_SIZE_DIVISOR.
I'll raise a bug in the CTS to ask the group.

@rjodinchr
Copy link
Contributor Author

@rjodinchr rjodinchr force-pushed the pr/max-image-buffer-size branch 2 times, most recently from 85746d5 to aaa0080 Compare January 24, 2025 15:53
OpenCL-CTS is checking that image/buffer max size is below
CL_DEVICE_MAX_MEM_ALLOC_SIZE.
@rjodinchr rjodinchr force-pushed the pr/max-image-buffer-size branch from aaa0080 to 297cb5b Compare January 24, 2025 16:27
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.

1 participant