分支和__syncthreads容易产生死锁。
见:
https://stackoverflow.com/questions/6666382/can-i-use-syncthreads-after-having-dropped-threads