cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

niravshah00
Journeyman III

API automatically handles stream addressing?

kernel sum (int a<> ,int b <>,out int c<>{

c = a + b;

}

a and b are input streams and c is output stream. streams use angle bracket. In situation like this , API automatically handles stream addressing.

This is in the documentation.

What does it mean by handling stream adressing ?

0 Likes
3 Replies
niravshah00
Journeyman III

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

0 Likes

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 }

0 Likes

Hi ,

thanks for the reply

But can you please tell explain me the flow control in stream processors.

I have another thread on this . I would really appreciate the help .

0 Likes