8.3.4 Do not allocate memory buffers created with malloc() for OpenCL applications

The Mali™ GPU cannot access the memory buffers created by malloc() because they are not mapped into the address space of the Mali GPU.

The inaccessible memory buffer is shown in the following figure.

Figure 8-3 Memory buffer created by malloc()
To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Non-ConfidentialPDF file icon PDF version101574_0302_00_en
Copyright © 2019 Arm Limited or its affiliates. All rights reserved.