Configure deprecation for cuda