Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
compile
/
slang
/
cc8faeb7c7fdc7d3211ee0e2a98bf3a60dccf812
/
.
/
tests
/
P_reduce_cpp
/
reduce_cpp.rs
blob: a4ddeb575e04d2c481ee2a6a89f1607c9c7e744f [
file
] [
log
] [
blame
]
// -target-api 0 -reflect-c++
#
pragma version
(
1
)
#
pragma rs java_package_name
(
foo
)
int __attribute__
((
kernel
(
"reduce"
)))
add
(
int a
,
int b
)
{
return
a
+
b
;
}