cudaEventQuery

Hi,

Are there any limitations on cudaEventQuery? Like maximum number of calls per second or there’s a limit of events that I can create? I manage to hang both 8600M GT and 8800 Ultra on cudaEventQuery…

When I attach gdb and print backtrace it looks like this:

#0  0x00002adac4443e5b in ?? () from /lib/libgcc_s.so.1

#1  0x00002adac46506e6 in dl_iterate_phdr () from /lib/libc.so.6

#2  0x00002adac4443a76 in _Unwind_Find_FDE () from /lib/libgcc_s.so.1

#3  0x00002adac4441749 in ?? () from /lib/libgcc_s.so.1

#4  0x00002adac4441f5a in ?? () from /lib/libgcc_s.so.1

#5  0x00002adac44423a2 in _Unwind_RaiseException () from /lib/libgcc_s.so.1

#6  0x00002adac407487d in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.so.6

#7  0x00002adac3d97080 in ?? () from /opt/cuda/lib/libcudart.so

#8  0x00002adac3d94656 in cudaEventQuery () from /opt/cuda/lib/libcudart.so

Any clue how can I avoid this (I know I can synchronize but I’d like to avoid it if possible)?