http://forums.nvidia.com/index.php?showtopic=209536&st=0&p=1289555&hl=trap&fromsearch=1&#entry1289555 __trap() Perform trap operation in CUDA