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

I erroneously posted the topic under this board. The original post is here: http://forums.nvidia.com/index.php?showtopic=219254