8.3.7 Sharing memory in an I/O coherent system

With I/O coherent allocation, the driver is not required to perform cache clean or invalidate operations on memory objects, before or after they are used on the Mali™ GPU. If you are using a memory object on both the application processor and the Mali GPU, this can improve performance.

If your platform is I/O coherent, you can enable I/O coherent memory allocation by passing the CL_MEM_ALLOC_HOST_PTR flag to clCreateBuffer() or clCreateImage().

If you are using OpenCL 2.0 or later and your platform is I/O coherent, use shared virtual memory. See F.8 Shared virtual memory.

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