Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
compile
/
slang
/
5743f7ef6fd1045d5314929b16c92a267004e384
/
.
/
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
;
}