Question

9) Assume that a kernel is launched with 1000 thread blocks each of which has 512 threads. if a variable is declared as a shared memory variable, how many versions of

the variable will be created through the lifetime of the execution of the kernel? (al (b) 1000 (c) 512 (d) 512000

Fig: 1