summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Martin <edb+piglit@sigluy.net>2015-09-30 22:06:55 +0200
committerSerge Martin <edb@sigluy.net>2015-10-04 16:16:57 +0200
commit6ea580a6f0bba42cb65075af9f7d0efac9323827 (patch)
treebe2d0afc3aa766788f608224c51e4dd79e2e1155
parenta2d8b3a647ccb5519fd5cd766ad98db769d56991 (diff)
cl: add printf builtin
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
-rw-r--r--tests/cl/program/build/printf.cl9
1 files changed, 9 insertions, 0 deletions
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");
+}