diff options
author | Edward Ching <edward.k.ching@gmail.com> | 2013-06-13 15:05:13 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-06-13 15:10:40 +0800 |
commit | 25688346b4f7015f415a3e88ad24eb573250abec (patch) | |
tree | f6beed818d5cc4ca2e3831bf36b942c3d741b5d2 /utests/utest_helper.hpp | |
parent | 4357646815aca3f1457626a8c885c3d5e484e2a4 (diff) | |
download | beignet-25688346b4f7015f415a3e88ad24eb573250abec.tar.gz |
utests: Added one test case for clFinish().
Reviewed-by: Zou, Nanhai <nanhai.zou@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r-- | utests/utest_helper.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp index c28615e5..dd98a1fd 100644 --- a/utests/utest_helper.hpp +++ b/utests/utest_helper.hpp @@ -75,6 +75,11 @@ extern EGLSurface eglSurface; OCL_CALL(clFlush, queue); \ } while(0) +#define OCL_FINISH() \ + do { \ + OCL_CALL(clFinish, queue); \ + } while(0) + #define OCL_CALL2(FN, RET, ...) \ do { \ cl_int status; \ |