8.3.3 Do not create buffers with CL_MEM_USE_HOST_PTR if possible

The Mali™ GPU can access the memory buffers created by clCreateBuffer(CL_MEM_USE_HOST_PTR), but buffers created this way must have data copied into them by the application processor. These copy operations are computationally expensive so it is best to avoid this method of allocating buffers if possible.

This method of allocating buffers is shown in the following figure.
Figure 8-2 Memory buffer created by clCreateBuffer(CL_MEM_USE_HOST_PTR)
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 versionARM 100614_0300_00_en
Copyright © 2012, 2013, 2015, 2016 ARM. All rights reserved.