[Beignet] [PATCH 1/3] Fix unit test compiler_load_bool_imm error.
Yang Rong
rong.r.yang at intel.com
Thu Aug 15 02:10:15 PDT 2013
Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
utests/compiler_load_bool_imm.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/utests/compiler_load_bool_imm.cpp b/utests/compiler_load_bool_imm.cpp
index 47ae9ad..d060daf 100644
--- a/utests/compiler_load_bool_imm.cpp
+++ b/utests/compiler_load_bool_imm.cpp
@@ -23,6 +23,7 @@ static void compiler_load_bool_imm(void)
int *dst = (int*)buf_data[0];
for (uint32_t i = 0; i < n * copiesPerWorkItem; i++)
OCL_ASSERT(dst[i] == copiesPerWorkItem);
+ OCL_UNMAP_BUFFER(0);
}
MAKE_UTEST_FROM_FUNCTION(compiler_load_bool_imm);
--
1.8.1.2
More information about the Beignet
mailing list