Added __syncthreads