[Beignet] [PATCH 2/2] Utest: Add -cl-kernel-arg-info to the utest test_get_arg_info

Yang, Rong R rong.r.yang at intel.com
Sun Sep 6 21:19:30 PDT 2015


LGTM, pushed, thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> junyan.he at inbox.com
> Sent: Sunday, September 6, 2015 18:45
> To: beignet at lists.freedesktop.org
> Cc: Junyan He
> Subject: [Beignet] [PATCH 2/2] Utest: Add -cl-kernel-arg-info to the utest
> test_get_arg_info
> 
> From: Junyan He <junyan.he at linux.intel.com>
> 
> Signed-off-by: Junyan He <junyan.he at linux.intel.com>
> ---
>  utests/get_arg_info.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utests/get_arg_info.cpp b/utests/get_arg_info.cpp index
> c1ea1ef..effeb64 100644
> --- a/utests/get_arg_info.cpp
> +++ b/utests/get_arg_info.cpp
> @@ -10,7 +10,7 @@ void test_get_arg_info(void)
>    char name[64];
> 
>    // Setup kernel and buffers
> -  OCL_CREATE_KERNEL("test_get_arg_info");
> +  OCL_CALL (cl_kernel_init, "test_get_arg_info.cl",
> + "test_get_arg_info", SOURCE, "-cl-kernel-arg-info");
> 
>    //Arg 0
>    ret = clGetKernelArgInfo(kernel, 0, CL_KERNEL_ARG_ADDRESS_QUALIFIER,
> --
> 1.9.1
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list