【发布时间】:2016-05-14 13:45:16
【问题描述】:
if(tid < size){
function1();
__syncthreads(); //In this synchronization, all threads will waiting here or only threads that enter in statement if?
}
__syncthreads();
我知道 __syncthreads() 会等待所有线程块,但是如果同步只对部分线程可见会发生什么?
【问题讨论】:
标签: cuda synchronization