From 6ea580a6f0bba42cb65075af9f7d0efac9323827 Mon Sep 17 00:00:00 2001 From: Serge Martin Date: Wed, 30 Sep 2015 22:06:55 +0200 Subject: cl: add printf builtin Reviewed-by: Jan Vesely --- 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 000000000..85ec712a0 --- /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"); +} -- cgit v1.2.3