[libclc] 08/291: Add some tests which had heretofore evaded 'git add'.
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Sep 8 10:53:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository libclc.
commit 96eafe454afb36b06aa0704cd87b223b3b6f92da
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: Mon May 28 20:42:59 2012 +0000
Add some tests which had heretofore evaded 'git add'.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157591 91177308-0d34-0410-b5e6-96231b3b80d8
---
test/add_sat.cl | 3 +++
test/as_type.cl | 3 +++
2 files changed, 6 insertions(+)
diff --git a/test/add_sat.cl b/test/add_sat.cl
new file mode 100644
index 0000000..45c8567
--- /dev/null
+++ b/test/add_sat.cl
@@ -0,0 +1,3 @@
+__kernel void foo(__global char *a, __global char *b, __global char *c) {
+ *a = add_sat(*b, *c);
+}
diff --git a/test/as_type.cl b/test/as_type.cl
new file mode 100644
index 0000000..e8fb122
--- /dev/null
+++ b/test/as_type.cl
@@ -0,0 +1,3 @@
+__kernel void foo(int4 *x, float4 *y) {
+ *x = as_int4(*y);
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git
More information about the Pkg-opencl-commits
mailing list