Originally posted by: niravshah00 please reply to this ASAP ,
I need to explain it urgently . its in section 2.2.1.1 section of stream_computing_user_guide that comes with SDK 1.4 |
In case of gather and scatter array, we need to use indexof or instance to access. but in case of streams, i will be calculated automatically.
Above code is converted internally as follows if your output stream is 1D
kernel sum(int a<>, int b<>, out int c<>) { c = a + b // i is calculated internally }