Adding a kernel with __syncthreads