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

Chuanbo Weng chuanbo.weng at intel.com
Sun Sep 6 22:01:50 PDT 2015


If the CL device does not support this builtin kernel, the test returns
PASS.

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

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"
-- 
1.9.1



More information about the Beignet mailing list