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

Serge Martin edb+piglit at sigluy.net
Wed Sep 30 12:25:28 PDT 2015


---
 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");
+}
-- 
2.5.2



More information about the Piglit mailing list