This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using clEnqueueMapBuffer Mali-T880

Hi everyone,

I'd like to know what happens when I use the command clEnqueueMapBuffer to the hardware level.

All the buffer at CPU-side cache is invalidated?

And when I use the command clEnqueueUnmapMemObject,

All the buffer at GPU-side cache is invalidated?

Thanks!

Parents
  • Anthony Barbier,

    When I do clEnqueueMapBuffer, only the data set that was modified at GPU is invalidated at the CPU?

    There is one list that maintain all the address of the data set that was modified?

    For example, supose one vector of 1000 elements, the CPU modify the first 100 elements, and then call the clEnqueueUnmapBuffer. It  means that only that 100 positions will be invalidated at the GPU-cache?

    Thanks!!

Reply
  • Anthony Barbier,

    When I do clEnqueueMapBuffer, only the data set that was modified at GPU is invalidated at the CPU?

    There is one list that maintain all the address of the data set that was modified?

    For example, supose one vector of 1000 elements, the CPU modify the first 100 elements, and then call the clEnqueueUnmapBuffer. It  means that only that 100 positions will be invalidated at the GPU-cache?

    Thanks!!

Children