Does the number of arguments affect to the performance ?

Hello.

Sometimes my kernel uses 7~10 arguments and it might be too many for a kernel.
So I wonder whether the number of arguments affect to the performance of my kernel.
For example, I can reduce the number of arguments by merging some memory structures.
If I reduce the number of arguments from 8 to 4, does this help to improve the kernel’s performance ?

Well, in my opinion the number is not the problem, the problem is p.e. the size of the elements that you are passing throw the kernel, be carefully in the size of allocations in local memory. If the size is the same, why do you think reducing the number of arguments enhace throughput?