[Piglit] [PATCH 2/2] cl: add printf builtin

Jan Vesely jan.vesely at rutgers.edu
Sat Oct 3 14:59:49 PDT 2015


On Wed, 2015-09-30 at 21:25 +0200, Serge Martin wrote:
> ---
>  tests/cl/program/build/printf.cl | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 tests/cl/program/build/printf.cl
> 
> diff --git a/tests/cl/program/build/printf.cl
> b/tests/cl/program/build/printf.cl
> new file mode 100644
> index 0000000..85ec712
> --- /dev/null
> +++ b/tests/cl/program/build/printf.cl
> @@ -0,0 +1,9 @@
> +/*!
> +[config]
> +name: printf builtin
> +clc_version_min: 12
> +!*/
> +
> +kernel void test_printf() {
> +	printf("%s\n", "test_printf");
> +}

It'd be nice to have more than just build test for printf, but it can
be added later.
For both patches:
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>

Jan

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20151003/d3744dea/attachment.sig>


More information about the Piglit mailing list