how many arguments are available in one kernel?

I see in the Appendix B, global and device functions cannot have a variable number of arguments. But what is the exact number in a kernel?

these parameters are passed through the shared memory,so it depends on how much shared memory ur kernel uses and how much is left free for the parameters

these parameters are passed through the shared memory,so it depends on how much shared memory ur kernel uses and how much is left free for the parameters

So, how many bits does one parameter use?

So, how many bits does one parameter use?

Actually on compute 1.x hardware, the limitation is 256 bytes for formal parameters.

The number of bytes used by a given parameter is sizeof(parameter_type), per C semantics.

Actually on compute 1.x hardware, the limitation is 256 bytes for formal parameters.

The number of bytes used by a given parameter is sizeof(parameter_type), per C semantics.

OK, I see, thanks very much!

OK, I see, thanks very much!