summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorPan Xiuli <xiuli.pan@intel.com>2016-05-05 15:29:12 +0800
committerYang Rong <rong.r.yang@intel.com>2016-05-18 15:08:31 +0800
commit8f1598e991984a600a825e2494ec9aaf217976f4 (patch)
tree673f99cf7cc1f58d0c77e5d4846e19581aecc2de /benchmark
parentb76c5454309f1bf728815fefdc210d7091c02abf (diff)
Benchmark: Fix benchmark bugs with image map
The map in utest is changed, benchmark need chang as well. Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/benchmark_copy_image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/benchmark_copy_image.cpp b/benchmark/benchmark_copy_image.cpp
index 1d35188b..f3f98af3 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]); \