@@ -724,8 +724,8 @@ class matxDnSVDCUDAPlan_t : matxDnCUDASolver_t {
724724
725725 static DnSVDCUDAParams_t
726726 GetSVDParams (UTensor &u, STensor &s,
727- VtTensor &vt, const ATensor &a, const cudaExecutor &exec,
728- const char jobz = ' A ' )
727+ VtTensor &vt, const ATensor &a,
728+ const char jobz, const cudaExecutor &exec )
729729 {
730730 DnSVDCUDAParams_t params;
731731 params.batch_size = GetNumBatches (a);
@@ -997,7 +997,7 @@ void svd_impl(UTensor &&u, STensor &&s,
997997
998998 // Get parameters required by these tensors
999999 auto params = detail::matxDnSVDCUDAPlan_t<decltype (u_in), decltype (s_new), decltype (vt_in), decltype (at_col_maj)>::
1000- GetSVDParams (u_in, s_new, vt_in, at_col_maj, exec, job_cusolver );
1000+ GetSVDParams (u_in, s_new, vt_in, at_col_maj, job_cusolver, exec );
10011001
10021002 // Get cache or new SVD plan if it doesn't exist
10031003 using cache_val_type = detail::matxDnSVDCUDAPlan_t<decltype (u_in), decltype (s_new), decltype (vt_in), decltype (at_col_maj)>;
@@ -1034,7 +1034,7 @@ void svd_impl(UTensor &&u, STensor &&s,
10341034
10351035 // Get parameters required by these tensors
10361036 auto params = detail::matxDnSVDCUDAPlan_t<decltype (u_col_maj), decltype (s_new), decltype (vt_col_maj), decltype (tvt)>::
1037- GetSVDParams (u_col_maj, s_new, vt_col_maj, tvt, exec, job_cusolver );
1037+ GetSVDParams (u_col_maj, s_new, vt_col_maj, tvt, job_cusolver, exec );
10381038
10391039 // Get cache or new SVD plan if it doesn't exist
10401040 using cache_val_type = detail::matxDnSVDCUDAPlan_t<decltype (u_col_maj), decltype (s_new), decltype (vt_col_maj), decltype (tvt)>;
0 commit comments