[Mesa-dev] [PATCH 0/2] clover: clEnqueueMigrateMemObjects

Serge Martin edb+mesa at sigluy.net
Sat Sep 12 12:08:20 PDT 2015


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



More information about the mesa-dev mailing list