Now that mem object can be move back to the host, I think we should latter
come with a way to optimize read mapping for such objets. For the moment if
they are mapped for reading after been moved to the host, they will be send
back to the device...

Serge Martin (2):
  clover: clEnqueueMigrateMemObjects (device)
  clover: clEnqueueMigrateMemObjects (host)

 src/gallium/state_trackers/clover/api/transfer.cpp | 51 ++++++++++++++++++----
 src/gallium/state_trackers/clover/core/memory.cpp  | 38 +++++++++++++---
 src/gallium/state_trackers/clover/core/memory.hpp  | 16 +++++--
 .../state_trackers/clover/core/resource.cpp        |  5 ++-
 .../state_trackers/clover/core/resource.hpp        |  3 +-
 5 files changed, 92 insertions(+), 21 deletions(-)

-- 
2.5.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to