Try to workaround a crash that may be caused by the float4 issue: http://stackoverflow.com/questions/15485992/memory-problems-when-using-float4-in-thrust-cuda, but it doesn't solve the crash.