title: ARM Mali - How to share the read only memory object between CPU and GPU at the same time?
body: <p>I am using ARM Mali T604 GPU. I've created a memory object using ALLOC_HOST_PTR. I would like to know if the following procedure is valid? Can I access(reading only) the memory object in GPU and mapped (as read only) same memory object in CPU simultaneously?</p>
  
  <p>Step 1: unmap memory object (previously mapped as CL_MAP_READ_WRITE)</p>
  
  <p>Step 2: map the memory object back using CL_MAP_READ (argument to the clEnqueueMapBuffer())</p>
  
  <p>Step 3: read and process the data by CPU and GPU at the same time (but I'll not do any write operations on this memory object)</p>
  
  <p>Step 4: unmap memory object</p>
  
  <p>Step 5: map the memory object using CL_MAP_READ_WRITE to host.</p>
  
  <p>In other words, my objective at the end of the day is to have a memory object which is readable by CPU and GPU at the same time. Is this possible in Mali OpenCL platform?</p>