We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At the moment clvk defers the initialisation of image content given at creation (either by CL_MEM_COPY_HOST_PTR or CL_MEM_USE_HOST_PTR).
CL_MEM_COPY_HOST_PTR
CL_MEM_USE_HOST_PTR
It leads to a staging buffer being allocated until the data is actually copied to the image memory.
I have an application where lots of images with init data are created and it ends up hitting an out-of-memory.
Could we have a mode where the copy of the data to the image memory is done at creation time, not at first use?
The text was updated successfully, but these errors were encountered:
The issue with doing it at creation time seems to be the lack of clCommandQueue.
clCommandQueue
But maybe we can do without it and just do something as we already have VkQueue
VkQueue
Sorry, something went wrong.
init image at creation time
69ed7b5
fix kpet#719
Successfully merging a pull request may close this issue.
At the moment clvk defers the initialisation of image content given at creation (either by
CL_MEM_COPY_HOST_PTR
orCL_MEM_USE_HOST_PTR
).It leads to a staging buffer being allocated until the data is actually copied to the image memory.
I have an application where lots of images with init data are created and it ends up hitting an out-of-memory.
Could we have a mode where the copy of the data to the image memory is done at creation time, not at first use?
The text was updated successfully, but these errors were encountered: