From: Pan Xiuli <xiuli....@intel.com>

The map in utest is changed, benchmark need chang as well.

Signed-off-by: Pan Xiuli <xiuli....@intel.com>
---
 benchmark/benchmark_copy_image.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/benchmark/benchmark_copy_image.cpp 
b/benchmark/benchmark_copy_image.cpp
index 1d35188..f3f98af 100644
--- a/benchmark/benchmark_copy_image.cpp
+++ b/benchmark/benchmark_copy_image.cpp
@@ -50,8 +50,8 @@ double benchmark_ ##J ##_image_ ##T(void) \
   } \
   OCL_FINISH(); \
 \
-  OCL_MAP_BUFFER(1); \
-  OCL_UNMAP_BUFFER(1); \
+  OCL_MAP_BUFFER_GTT(1); \
+  OCL_UNMAP_BUFFER_GTT(1); \
   gettimeofday(&stop,0); \
 \
   clReleaseMemObject(buf[0]); \
-- 
2.5.0

_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to