Use cudaDeviceSynchronize instead of cudaThreadSynchronize.
Use cudaDeviceSynchronize instead of cudaThreadSynchronize.

raygit/thrust,thrust/thrust,Ricardo666666/thrust,marksantos/thrust,mohamed-ali/thrust,sarvex/thrust,egaburov/thrust,thvasilo/thrust,mohamed-ali/thrust,thvasilo/thrust,jaredhoberock/thrust,thrust/thrust,jaredhoberock/thrust,xiongzhanblake/thrust,arnabgho/thrust,andrewcorrigan/thrust-multi-permutation-iterator,zeryx/thrust,marksantos/thrust,xiongzhanblake/thrust_src,jaredhoberock/thrust,egaburov/thrust,marksantos/thrust,sdalton1/thrust,GrimDerp/thrust,dachziegel/thrust,thrust/thrust,GrimDerp/thrust,arnabgho/thrust,dachziegel/thrust,thvasilo/thrust,sdalton1/thrust,xiongzhanblake/thrust,arnabgho/thrust,sdalton1/thrust,andrewcorrigan/thrust-multi-permutation-iterator,raygit/thrust,raygit/thrust,zhenglaizhang/thrust,xiongzhanblake/thrust_src,zeryx/thrust,sarvex/thrust,jaredhoberock/thrust,xiongzhanblake/thrust,andrewcorrigan/thrust-multi-permutation-iterator,mohamed-ali/thrust,sarvex/thrust,zhenglaizhang/thrust,zeryx/thrust,dachziegel/thrust,Ricardo666666/thrust,xiongzhanblake/thrust_src,Ricardo666666/thrust,zhenglaizhang/thrust,thrust/thrust,jaredhoberock/thrust,egaburov/thrust,thrust/thrust,GrimDerp/thrust