This test only try to allocate buffer with size large than 
CL_DEVICE_MAX_MEM_ALLOC_SIZE, and
assert if return status if not CL_INVALID_BUFFER_SIZE. But in openCL spec:
Implementations may return CL_INVALID_BUFFER_SIZE if size is greater than
CL_DEVICE_MAX_MEM_ALLOC_SIZE value specified in table 4.3 for all devices in 
context.

It don't must return CL_INVALID_BUFFER_SIZE. So remove it.

Signed-off-by: Yang Rong <[email protected]>
---
 utests/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt
index 5e0bc19..764d9a9 100644
--- a/utests/CMakeLists.txt
+++ b/utests/CMakeLists.txt
@@ -3,7 +3,6 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}
 
 link_directories (${LLVM_LIBRARY_DIR})
 set (utests_sources
-  cl_create_kernel.cpp
   utest_error.c
   compiler_basic_arithmetic.cpp
   compiler_displacement_map_element.cpp
-- 
1.8.1.2

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to