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

OpenCL zero sized buffers and sub-buffers #712

Open
kris-rowe opened this issue Oct 25, 2023 · 0 comments
Open

OpenCL zero sized buffers and sub-buffers #712

kris-rowe opened this issue Oct 25, 2023 · 0 comments
Labels
bug Use this label when reporting bugs! OpenCL runtime Related to the OCCA runtime API

Comments

@kris-rowe
Copy link
Member

Description

The OpenCL functions clCreateBuffer and clCreateSubBuffer require the size argument to be non-zero.
Currently there are no guards against this possibility in the OpenCL backend.

Details

@kris-rowe kris-rowe added bug Use this label when reporting bugs! OpenCL runtime Related to the OCCA runtime API labels Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Use this label when reporting bugs! OpenCL runtime Related to the OCCA runtime API
Projects
None yet
Development

No branches or pull requests

1 participant