cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Why does increasing the number of kernel arguments impacts performance ?

GPU: 7970

OS: Kubuntu 12.04 x64

Driver: Catlyst 13.4

Hi,

I know this sounds crazy but it is actually true. Increasing the number of kernel arguments beyond a certain number causes the performance to drop. In one of my kernels if I move from 6 to 7 kernel arguments performance drops by 30% even though I don't do any computation with the the new kernel argument. I can't reduce the number of arguments by assembling them into a struct because all of them are dynamic arrays of variable length. Is there a way to avoid this problem ?

Regards,

Sayantan 

0 Likes
10 Replies