Better cuda errors.