Hello.
When a set of arguments are passed to a GPU kernel,
where are these stored? (In shared memory? constant memory?)
The section 3.2.2.4 of CUDA C Best Practices Guide says,
But someone in another post says they are stored in the constant memory for compute capability 2.x.
Where are the kernel arguments stored?
tera
2
In shared memory on compute capability 1.x, in constant memory on 2.x. See appendix B.1.4.1 of the Programming Guide.
tera
3
(just noted that I am someone, and that my answer is redundant because it is already completely given in the cited thread…)
Thanks for the reply.
For those who would be looking for this in the documentation for 4.0,
it is explained in D.2.4.1 of the programming guide.