[Beignet] [PATCH] Remove test cl_create_kernel.

Zhigang Gong zhigang.gong at linux.intel.com
Wed Nov 27 00:07:30 PST 2013


I agree. This test case is useless now. Will push this patch latter, thanks.


On Wed, Nov 27, 2013 at 04:40:30PM +0800, Yang Rong wrote:
> 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 at intel.com>
> ---
>  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
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list