summaryrefslogtreecommitdiffstats
path: root/resources/example1/function.c
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-07-24 18:33:42 +0200
committerMichael Bien <[email protected]>2009-07-24 18:33:42 +0200
commit1737ee672c05d956a99a91d9894556230f6363bc (patch)
tree365a728def62f6c5069a2dcd9a1f6521330e2212 /resources/example1/function.c
initial import of JOCL the Java Bindings to OpenCL prototype
Diffstat (limited to 'resources/example1/function.c')
-rw-r--r--resources/example1/function.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/example1/function.c b/resources/example1/function.c
new file mode 100644
index 00000000..9a84189b
--- /dev/null
+++ b/resources/example1/function.c
@@ -0,0 +1,3 @@
+int one_plus(int a) {
+ return 1 + a;
+}