cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

codeboycjy
Journeyman III

Even if an empty scatter kernel could cost 15 million second. Why?

Hi:
   In my program, there is an empty scatter which costs 15 million seconds some times at half chance.
   What's so special about scatter?
   Or there is some configuration i've set is wrong.

   Thanks for ur help.

0 Likes
2 Replies
gaurav_garg
Adept I

There are some limitation on ATI hardware with scatter. Brook+ runtime tries to virtualize these limitation on cost of some performance overhead. If you want to avoid these virtualizations, you should use a 128-bit (float4, int4, double2) 1D stream with size < 8192 as scatter stream.

Let me know what changes you see in performance if you use the above mentioned configuration for scatter stream.

0 Likes

I've tried. It seems like the performance is improved if i use 1-D stream.

Thanks for ur help. I'll keep on my work.

0 Likes