commit | 9ca96e70657cf5437a294213f56ba4768dc08ad2 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Thu Sep 13 16:57:06 2012 -0700 |
committer | Stephen Hines <srhines@google.com> | Wed Sep 19 02:36:06 2012 -0700 |
tree | 11bb4dc019f4d6064666403df2023d8d8fe6e272 | |
parent | 58fcd13c1646ee303f844484935a827b4380b08c [diff] |
Support for pass-by-value kernels. This change allows the JB-mr1+ target API to declare compute kernels using "__attribute__((kernel))". This disables the use of pointers in the function signature and forces any output to be explicitly returned and input to be passed only by value. We still allow the user to add x, y coordinates if they want them. Bug: 7166741 Change-Id: I1407fceefb11c7d6c17221ca156cfce443c2b218