Sign in
nest-open-source
/
nest-cam
/
4320010
/
llvm-rs-cc
/
refs/heads/master
/
.
/
slang
/
tests
/
P_foreach_multi
/
foreach_multi.rs
blob: e8a597e01ee87e02a6e0ffa8c178f5f93023984e [
file
] [
log
] [
blame
]
// -target-api 0
#
pragma version
(
1
)
#
pragma rs java_package_name
(
com
.
example
.
foo
)
int RS_KERNEL foo
(
int a
,
int b
)
{
return
a
+
b
;
}
void testStart
(
rs_allocation in
,
rs_allocation out
)
{
rsForEach
(
foo
,
in
,
in
,
out
);
}