Shared Memory Problems - __syncthreads() doesn't work?

I erroneously posted the topic under this board. The original post is here: The Official NVIDIA Forums | NVIDIA