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