[Beignet] [PATCH 1/2] Benchmark: Fix benchmark bugs with image map
Xiuli Pan
xiuli.pan at intel.com
Thu May 5 07:29:12 UTC 2016
From: Pan Xiuli <xiuli.pan at intel.com>
The map in utest is changed, benchmark need chang as well.
Signed-off-by: Pan Xiuli <xiuli.pan at 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
More information about the Beignet
mailing list