Qualcomm Interview Question

How does thread synchronization work in CUDA?