foreach_non_kernel.rscript:14:3: error: rsForEach applied to function oldFoo defined without "kernel" attribute foreach_non_kernel.rscript:15:3: error: rsForEach applied to function foo defined without "kernel" attribute