writing CUDA errors to LOG(FATAL) instead of stderr