[v2,3/4] Add basic utest for block_motion_estimate_intel.

Submitted by Chuanbo Weng on Sept. 7, 2015, 5:01 a.m.

Details

Message ID 1441602110-4171-1-git-send-email-chuanbo.weng@intel.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Chuanbo Weng Sept. 7, 2015, 5:01 a.m.
If the CL device does not support this builtin kernel, the test returns
PASS.

Signed-off-by: Guo Yejun <yejun.guo@intel.com>
---
 utests/CMakeLists.txt   | 1 +
 utests/utest_helper.hpp | 1 +
 2 files changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt
index e7a9e26..f5abb0c 100644
--- a/utests/CMakeLists.txt
+++ b/utests/CMakeLists.txt
@@ -203,6 +203,7 @@  set (utests_sources
   test_printf.cpp
   enqueue_fill_buf.cpp
   builtin_kernel_max_global_size.cpp
+  builtin_kernel_block_motion_estimate_intel.cpp
   image_1D_buffer.cpp
   compare_image_2d_and_1d_array.cpp
   compiler_fill_image_1d_array.cpp
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp
index 3b17606..d8f8a50 100644
--- a/utests/utest_helper.hpp
+++ b/utests/utest_helper.hpp
@@ -26,6 +26,7 @@ 
 #define __UTEST_HELPER_HPP__
 
 #include "CL/cl.h"
+#include "CL/cl_ext.h"
 #include "CL/cl_intel.h"
 #include "utest.hpp"
 #include "utest_assert.hpp"