aboutsummaryrefslogtreecommitdiff
path: root/handcoded-renderscript/sql1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'handcoded-renderscript/sql1.rs')
-rw-r--r--handcoded-renderscript/sql1.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/handcoded-renderscript/sql1.rs b/handcoded-renderscript/sql1.rs
new file mode 100644
index 0000000..74d7794
--- /dev/null
+++ b/handcoded-renderscript/sql1.rs
@@ -0,0 +1,10 @@
+#pragma version(1)
+#pragma rs java_package_name(com.linaro.sq-cl)
+
+int4 __attribute__((kernel)) x2_root(int4 data1,
+ int4 data2) {
+
+ int 4 result = ((data1 > 60) && (v2 < 0 ));
+
+ return result;
+}