I was curious to ask why __syncthreads() dose not work when calling the kernel function in matlab.

I was curious to ask why __syncthreads() dose not work when calling the kernel function in matlab.

I’m sure it does work.

thank you, I have solved the problem