Remove test cl_create_kernel.
authorYang Rong <rong.r.yang@intel.com>
Wed, 27 Nov 2013 08:40:30 +0000 (16:40 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 27 Nov 2013 08:27:10 +0000 (16:27 +0800)
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 <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/CMakeLists.txt

index 5e0bc19..764d9a9 100644 (file)
@@ -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