__syncthreads() not working in deviceemu

Is it normal that code after a __syncthread() might be executed before all threads reach synsthreads(), if i am using -deviceemu, gdb, ubuntu 8.04? I get constant crashes because one thread is left behind.

You wouldn’t happen to have synchthreads() inside some conditional statement, by chance?

only in an for which is executed the same amount of times for every thread.

ps. waaah, again wrong forum, sorry ;)

No, that’s not normal. Try to reduce the problem to the least amount of code and file a bug report?