The first two parameters are dimensions of grid and block respectively. But what are other parameters? Is there any documents containing such information?
I downloaded a CUDA code and found the author use three parameters when calling a kernel function. The third parameter seems to be related to memory allocation. I want to know details about it. Within the kernel function, there is a variable declared as “extern shared unsigned int”. But it is never allocated and I cannot find other places it is declared. But the code is compiled and run correctly. Can anyone explain it to me? Thanks a lot!