Use shared Memory

Hi,

I am confused about how to use shared memory.
As I know shared memory is a memory space shared by all the threads of the same blocks, and when When we declare an array as shared the compiler creates a copy for each thread of the launched block.

I need to know if it is possible that each thread may have a different array content in the shared memory ?

Thanks in advance

this may be of interest:

Thank you

I am confused about how to use shared memory.
I have found this article to be very good: https://devblogs.nvidia.com/using-shared-memory-cuda-cc/