Forums - OpenCL buffer size limited?

1 post / 0 new
OpenCL buffer size limited?
413283048
Join Date: 20 Mar 21
Posts: 1
Posted: Sun, 2021-03-21 00:01
I am trying to allocate large buffers (around 4500MB) in a 8GB device but it fails on the GPU with the error code CL_INVALID_BUFFER_SIZE. I wonder the memory size from CL_DEVICE_GLOBAL_MEM_SIZE is much lower (around 3630MB) than the device memory size(8GB).
Adreno 620 Android10
Is there a limit on the buffer size? How to break this limit?
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.