1 // -target-api 0 2 #pragma version(1) 3 #pragma rs java_package_name(com.example.foo) 4 5 int RS_KERNEL foo(int a) { 6 return a; 7 } 8 9 void testStart(rs_allocation in, rs_allocation out) { 10 rsForEach(foo, in); 11 rsForEach(foo, in, in, out); 12 } 13