cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

lxp121
Journeyman III

domain of streams and kernel in Brook+

hi

if i have a kernel, which have 2 gather stream and 1 scatter stream, the domain of which are different from the kernel. can it works? and how brook know the domain of each one?

for example

kernel void test(float a[], float b[], out float c[])

the a, b, c and kernel have different domain.

   

0 Likes
1 Reply
gaurav_garg
Adept I

Please see the following link for answer -

http://forums.amd.com/forum/messageview.cfm?catid=328&threadid=105389&forumid=9

 

Brook+ generate a new stream for each domain used and runs a copy shader from the new stream to old stream or vice-versa.

0 Likes