Skip to content

Commit

Permalink
[HIPIFY][ROCm#675][ROCm#677][SOLVER][feature] cuSOLVER support - St…
Browse files Browse the repository at this point in the history
…ep 42 - Functions (DN)

+ `cusolverDn(S|D)syevj(_bufferSize)?` and `cusolverDn(C|Z)heevj(_bufferSize)?`are `SUPPORTED` by `hipSOLVER` only
+ [NOTE] `rocsolver_(s|d)syevj` and `rocsolver_(c|z)heevj` have a harness of other `ROC` and `HIP` API calls, thus `UNSUPPORTED`
+ Updated `SOLVER` synthetic tests, the regenerated `hipify-perl`, and `SOLVER` `CUDA2HIP` documentation
  • Loading branch information
emankov committed Dec 17, 2023
1 parent 2bec1b4 commit 25c3d66
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bin/hipify-perl
Original file line number Diff line number Diff line change
Expand Up @@ -1105,8 +1105,10 @@ my %experimental_funcs = (
"cusolverDnZhegvdx" => "6.1.0",
"cusolverDnZhegvd_bufferSize" => "6.1.0",
"cusolverDnZhegvd" => "6.1.0",
"cusolverDnZheevj_bufferSize" => "6.1.0",
"cusolverDnZheevjBatched_bufferSize" => "6.1.0",
"cusolverDnZheevjBatched" => "6.1.0",
"cusolverDnZheevj" => "6.1.0",
"cusolverDnZheevdx_bufferSize" => "6.1.0",
"cusolverDnZheevdx" => "6.1.0",
"cusolverDnZheevd_bufferSize" => "6.1.0",
Expand Down Expand Up @@ -1137,8 +1139,10 @@ my %experimental_funcs = (
"cusolverDnSsygvdx" => "6.1.0",
"cusolverDnSsygvd_bufferSize" => "6.1.0",
"cusolverDnSsygvd" => "6.1.0",
"cusolverDnSsyevj_bufferSize" => "6.1.0",
"cusolverDnSsyevjBatched_bufferSize" => "6.1.0",
"cusolverDnSsyevjBatched" => "6.1.0",
"cusolverDnSsyevj" => "6.1.0",
"cusolverDnSsyevdx_bufferSize" => "6.1.0",
"cusolverDnSsyevdx" => "6.1.0",
"cusolverDnSsyevd_bufferSize" => "6.1.0",
Expand Down Expand Up @@ -1184,8 +1188,10 @@ my %experimental_funcs = (
"cusolverDnDsygvdx" => "6.1.0",
"cusolverDnDsygvd_bufferSize" => "6.1.0",
"cusolverDnDsygvd" => "6.1.0",
"cusolverDnDsyevj_bufferSize" => "6.1.0",
"cusolverDnDsyevjBatched_bufferSize" => "6.1.0",
"cusolverDnDsyevjBatched" => "6.1.0",
"cusolverDnDsyevj" => "6.1.0",
"cusolverDnDsyevdx_bufferSize" => "6.1.0",
"cusolverDnDsyevdx" => "6.1.0",
"cusolverDnDsyevd_bufferSize" => "6.1.0",
Expand Down Expand Up @@ -1249,8 +1255,10 @@ my %experimental_funcs = (
"cusolverDnChegvdx" => "6.1.0",
"cusolverDnChegvd_bufferSize" => "6.1.0",
"cusolverDnChegvd" => "6.1.0",
"cusolverDnCheevj_bufferSize" => "6.1.0",
"cusolverDnCheevjBatched_bufferSize" => "6.1.0",
"cusolverDnCheevjBatched" => "6.1.0",
"cusolverDnCheevj" => "6.1.0",
"cusolverDnCheevdx_bufferSize" => "6.1.0",
"cusolverDnCheevdx" => "6.1.0",
"cusolverDnCheevd_bufferSize" => "6.1.0",
Expand Down Expand Up @@ -1440,8 +1448,10 @@ sub experimentalSubstitutions {
subst("cusolverDnCheevd_bufferSize", "hipsolverDnCheevd_bufferSize", "library");
subst("cusolverDnCheevdx", "hipsolverDnCheevdx", "library");
subst("cusolverDnCheevdx_bufferSize", "hipsolverDnCheevdx_bufferSize", "library");
subst("cusolverDnCheevj", "hipsolverDnCheevj", "library");
subst("cusolverDnCheevjBatched", "hipsolverDnCheevjBatched", "library");
subst("cusolverDnCheevjBatched_bufferSize", "hipsolverDnCheevjBatched_bufferSize", "library");
subst("cusolverDnCheevj_bufferSize", "hipsolverDnCheevj_bufferSize", "library");
subst("cusolverDnChegvd", "hipsolverDnChegvd", "library");
subst("cusolverDnChegvd_bufferSize", "hipsolverDnChegvd_bufferSize", "library");
subst("cusolverDnChegvdx", "hipsolverDnChegvdx", "library");
Expand Down Expand Up @@ -1505,8 +1515,10 @@ sub experimentalSubstitutions {
subst("cusolverDnDsyevd_bufferSize", "hipsolverDnDsyevd_bufferSize", "library");
subst("cusolverDnDsyevdx", "hipsolverDnDsyevdx", "library");
subst("cusolverDnDsyevdx_bufferSize", "hipsolverDnDsyevdx_bufferSize", "library");
subst("cusolverDnDsyevj", "hipsolverDnDsyevj", "library");
subst("cusolverDnDsyevjBatched", "hipsolverDnDsyevjBatched", "library");
subst("cusolverDnDsyevjBatched_bufferSize", "hipsolverDnDsyevjBatched_bufferSize", "library");
subst("cusolverDnDsyevj_bufferSize", "hipsolverDnDsyevj_bufferSize", "library");
subst("cusolverDnDsygvd", "hipsolverDnDsygvd", "library");
subst("cusolverDnDsygvd_bufferSize", "hipsolverDnDsygvd_bufferSize", "library");
subst("cusolverDnDsygvdx", "hipsolverDnDsygvdx", "library");
Expand Down Expand Up @@ -1551,8 +1563,10 @@ sub experimentalSubstitutions {
subst("cusolverDnSsyevd_bufferSize", "hipsolverDnSsyevd_bufferSize", "library");
subst("cusolverDnSsyevdx", "hipsolverDnSsyevdx", "library");
subst("cusolverDnSsyevdx_bufferSize", "hipsolverDnSsyevdx_bufferSize", "library");
subst("cusolverDnSsyevj", "hipsolverDnSsyevj", "library");
subst("cusolverDnSsyevjBatched", "hipsolverDnSsyevjBatched", "library");
subst("cusolverDnSsyevjBatched_bufferSize", "hipsolverDnSsyevjBatched_bufferSize", "library");
subst("cusolverDnSsyevj_bufferSize", "hipsolverDnSsyevj_bufferSize", "library");
subst("cusolverDnSsygvd", "hipsolverDnSsygvd", "library");
subst("cusolverDnSsygvd_bufferSize", "hipsolverDnSsygvd_bufferSize", "library");
subst("cusolverDnSsygvdx", "hipsolverDnSsygvdx", "library");
Expand Down Expand Up @@ -1583,8 +1597,10 @@ sub experimentalSubstitutions {
subst("cusolverDnZheevd_bufferSize", "hipsolverDnZheevd_bufferSize", "library");
subst("cusolverDnZheevdx", "hipsolverDnZheevdx", "library");
subst("cusolverDnZheevdx_bufferSize", "hipsolverDnZheevdx_bufferSize", "library");
subst("cusolverDnZheevj", "hipsolverDnZheevj", "library");
subst("cusolverDnZheevjBatched", "hipsolverDnZheevjBatched", "library");
subst("cusolverDnZheevjBatched_bufferSize", "hipsolverDnZheevjBatched_bufferSize", "library");
subst("cusolverDnZheevj_bufferSize", "hipsolverDnZheevj_bufferSize", "library");
subst("cusolverDnZhegvd", "hipsolverDnZhegvd", "library");
subst("cusolverDnZhegvd_bufferSize", "hipsolverDnZhegvd_bufferSize", "library");
subst("cusolverDnZhegvdx", "hipsolverDnZhegvdx", "library");
Expand Down
8 changes: 8 additions & 0 deletions docs/tables/CUSOLVER_API_supported_by_HIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@
|`cusolverDnCheevd_bufferSize`|8.0| | | |`hipsolverDnCheevd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnCheevdx`|10.1| | | |`hipsolverDnCheevdx`|5.3.0| | | |6.1.0|
|`cusolverDnCheevdx_bufferSize`|10.1| | | |`hipsolverDnCheevdx_bufferSize`|5.3.0| | | |6.1.0|
|`cusolverDnCheevj`|9.0| | | |`hipsolverDnCheevj`|5.1.0| | | |6.1.0|
|`cusolverDnCheevjBatched`|9.0| | | |`hipsolverDnCheevjBatched`|5.1.0| | | |6.1.0|
|`cusolverDnCheevjBatched_bufferSize`|9.0| | | |`hipsolverDnCheevjBatched_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnCheevj_bufferSize`|9.0| | | |`hipsolverDnCheevj_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnChegvd`|8.0| | | |`hipsolverDnChegvd`|5.1.0| | | |6.1.0|
|`cusolverDnChegvd_bufferSize`|8.0| | | |`hipsolverDnChegvd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnChegvdx`|10.1| | | |`hipsolverDnChegvdx`|5.3.0| | | |6.1.0|
Expand Down Expand Up @@ -227,8 +229,10 @@
|`cusolverDnDsyevd_bufferSize`|8.0| | | |`hipsolverDnDsyevd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnDsyevdx`|10.1| | | |`hipsolverDnDsyevdx`|5.3.0| | | |6.1.0|
|`cusolverDnDsyevdx_bufferSize`|10.1| | | |`hipsolverDnDsyevdx_bufferSize`|5.3.0| | | |6.1.0|
|`cusolverDnDsyevj`|9.0| | | |`hipsolverDnDsyevj`|5.1.0| | | |6.1.0|
|`cusolverDnDsyevjBatched`|9.0| | | |`hipsolverDnDsyevjBatched`|5.1.0| | | |6.1.0|
|`cusolverDnDsyevjBatched_bufferSize`|9.0| | | |`hipsolverDnDsyevjBatched_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnDsyevj_bufferSize`|9.0| | | |`hipsolverDnDsyevj_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnDsygvd`|8.0| | | |`hipsolverDnDsygvd`|5.1.0| | | |6.1.0|
|`cusolverDnDsygvd_bufferSize`|8.0| | | |`hipsolverDnDsygvd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnDsygvdx`|10.1| | | |`hipsolverDnDsygvdx`|5.3.0| | | |6.1.0|
Expand Down Expand Up @@ -317,8 +321,10 @@
|`cusolverDnSsyevd_bufferSize`|8.0| | | |`hipsolverDnSsyevd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnSsyevdx`|10.1| | | |`hipsolverDnSsyevdx`|5.3.0| | | |6.1.0|
|`cusolverDnSsyevdx_bufferSize`|10.1| | | |`hipsolverDnSsyevdx_bufferSize`|5.3.0| | | |6.1.0|
|`cusolverDnSsyevj`|9.0| | | |`hipsolverDnSsyevj`|5.1.0| | | |6.1.0|
|`cusolverDnSsyevjBatched`|9.0| | | |`hipsolverDnSsyevjBatched`|5.1.0| | | |6.1.0|
|`cusolverDnSsyevjBatched_bufferSize`|9.0| | | |`hipsolverDnSsyevjBatched_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnSsyevj_bufferSize`|9.0| | | |`hipsolverDnSsyevj_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnSsygvd`|8.0| | | |`hipsolverDnSsygvd`|5.1.0| | | |6.1.0|
|`cusolverDnSsygvd_bufferSize`|8.0| | | |`hipsolverDnSsygvd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnSsygvdx`|10.1| | | |`hipsolverDnSsygvdx`|5.3.0| | | |6.1.0|
Expand Down Expand Up @@ -374,8 +380,10 @@
|`cusolverDnZheevd_bufferSize`|8.0| | | |`hipsolverDnZheevd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnZheevdx`|10.1| | | |`hipsolverDnZheevdx`|5.3.0| | | |6.1.0|
|`cusolverDnZheevdx_bufferSize`|10.1| | | |`hipsolverDnZheevdx_bufferSize`|5.3.0| | | |6.1.0|
|`cusolverDnZheevj`|9.0| | | |`hipsolverDnZheevj`|5.1.0| | | |6.1.0|
|`cusolverDnZheevjBatched`|9.0| | | |`hipsolverDnZheevjBatched`|5.1.0| | | |6.1.0|
|`cusolverDnZheevjBatched_bufferSize`|9.0| | | |`hipsolverDnZheevjBatched_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnZheevj_bufferSize`|9.0| | | |`hipsolverDnZheevj_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnZhegvd`|8.0| | | |`hipsolverDnZhegvd`|5.1.0| | | |6.1.0|
|`cusolverDnZhegvd_bufferSize`|8.0| | | |`hipsolverDnZhegvd_bufferSize`|5.1.0| | | |6.1.0|
|`cusolverDnZhegvdx`|10.1| | | |`hipsolverDnZhegvdx`|5.3.0| | | |6.1.0|
Expand Down
8 changes: 8 additions & 0 deletions docs/tables/CUSOLVER_API_supported_by_HIP_and_ROC.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@
|`cusolverDnCheevd_bufferSize`|8.0| | | |`hipsolverDnCheevd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnCheevdx`|10.1| | | |`hipsolverDnCheevdx`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnCheevdx_bufferSize`|10.1| | | |`hipsolverDnCheevdx_bufferSize`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnCheevj`|9.0| | | |`hipsolverDnCheevj`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnCheevjBatched`|9.0| | | |`hipsolverDnCheevjBatched`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnCheevjBatched_bufferSize`|9.0| | | |`hipsolverDnCheevjBatched_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnCheevj_bufferSize`|9.0| | | |`hipsolverDnCheevj_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnChegvd`|8.0| | | |`hipsolverDnChegvd`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnChegvd_bufferSize`|8.0| | | |`hipsolverDnChegvd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnChegvdx`|10.1| | | |`hipsolverDnChegvdx`|5.3.0| | | |6.1.0| | | | | | |
Expand Down Expand Up @@ -227,8 +229,10 @@
|`cusolverDnDsyevd_bufferSize`|8.0| | | |`hipsolverDnDsyevd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnDsyevdx`|10.1| | | |`hipsolverDnDsyevdx`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnDsyevdx_bufferSize`|10.1| | | |`hipsolverDnDsyevdx_bufferSize`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnDsyevj`|9.0| | | |`hipsolverDnDsyevj`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnDsyevjBatched`|9.0| | | |`hipsolverDnDsyevjBatched`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnDsyevjBatched_bufferSize`|9.0| | | |`hipsolverDnDsyevjBatched_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnDsyevj_bufferSize`|9.0| | | |`hipsolverDnDsyevj_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnDsygvd`|8.0| | | |`hipsolverDnDsygvd`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnDsygvd_bufferSize`|8.0| | | |`hipsolverDnDsygvd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnDsygvdx`|10.1| | | |`hipsolverDnDsygvdx`|5.3.0| | | |6.1.0| | | | | | |
Expand Down Expand Up @@ -317,8 +321,10 @@
|`cusolverDnSsyevd_bufferSize`|8.0| | | |`hipsolverDnSsyevd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnSsyevdx`|10.1| | | |`hipsolverDnSsyevdx`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnSsyevdx_bufferSize`|10.1| | | |`hipsolverDnSsyevdx_bufferSize`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnSsyevj`|9.0| | | |`hipsolverDnSsyevj`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnSsyevjBatched`|9.0| | | |`hipsolverDnSsyevjBatched`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnSsyevjBatched_bufferSize`|9.0| | | |`hipsolverDnSsyevjBatched_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnSsyevj_bufferSize`|9.0| | | |`hipsolverDnSsyevj_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnSsygvd`|8.0| | | |`hipsolverDnSsygvd`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnSsygvd_bufferSize`|8.0| | | |`hipsolverDnSsygvd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnSsygvdx`|10.1| | | |`hipsolverDnSsygvdx`|5.3.0| | | |6.1.0| | | | | | |
Expand Down Expand Up @@ -374,8 +380,10 @@
|`cusolverDnZheevd_bufferSize`|8.0| | | |`hipsolverDnZheevd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnZheevdx`|10.1| | | |`hipsolverDnZheevdx`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnZheevdx_bufferSize`|10.1| | | |`hipsolverDnZheevdx_bufferSize`|5.3.0| | | |6.1.0| | | | | | |
|`cusolverDnZheevj`|9.0| | | |`hipsolverDnZheevj`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnZheevjBatched`|9.0| | | |`hipsolverDnZheevjBatched`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnZheevjBatched_bufferSize`|9.0| | | |`hipsolverDnZheevjBatched_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnZheevj_bufferSize`|9.0| | | |`hipsolverDnZheevj_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnZhegvd`|8.0| | | |`hipsolverDnZhegvd`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnZhegvd_bufferSize`|8.0| | | |`hipsolverDnZhegvd_bufferSize`|5.1.0| | | |6.1.0| | | | | | |
|`cusolverDnZhegvdx`|10.1| | | |`hipsolverDnZhegvdx`|5.3.0| | | |6.1.0| | | | | | |
Expand Down
8 changes: 8 additions & 0 deletions docs/tables/CUSOLVER_API_supported_by_ROC.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@
|`cusolverDnCheevd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnCheevdx`|10.1| | | | | | | | | |
|`cusolverDnCheevdx_bufferSize`|10.1| | | | | | | | | |
|`cusolverDnCheevj`|9.0| | | | | | | | | |
|`cusolverDnCheevjBatched`|9.0| | | | | | | | | |
|`cusolverDnCheevjBatched_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnCheevj_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnChegvd`|8.0| | | | | | | | | |
|`cusolverDnChegvd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnChegvdx`|10.1| | | | | | | | | |
Expand Down Expand Up @@ -227,8 +229,10 @@
|`cusolverDnDsyevd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnDsyevdx`|10.1| | | | | | | | | |
|`cusolverDnDsyevdx_bufferSize`|10.1| | | | | | | | | |
|`cusolverDnDsyevj`|9.0| | | | | | | | | |
|`cusolverDnDsyevjBatched`|9.0| | | | | | | | | |
|`cusolverDnDsyevjBatched_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnDsyevj_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnDsygvd`|8.0| | | | | | | | | |
|`cusolverDnDsygvd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnDsygvdx`|10.1| | | | | | | | | |
Expand Down Expand Up @@ -317,8 +321,10 @@
|`cusolverDnSsyevd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnSsyevdx`|10.1| | | | | | | | | |
|`cusolverDnSsyevdx_bufferSize`|10.1| | | | | | | | | |
|`cusolverDnSsyevj`|9.0| | | | | | | | | |
|`cusolverDnSsyevjBatched`|9.0| | | | | | | | | |
|`cusolverDnSsyevjBatched_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnSsyevj_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnSsygvd`|8.0| | | | | | | | | |
|`cusolverDnSsygvd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnSsygvdx`|10.1| | | | | | | | | |
Expand Down Expand Up @@ -374,8 +380,10 @@
|`cusolverDnZheevd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnZheevdx`|10.1| | | | | | | | | |
|`cusolverDnZheevdx_bufferSize`|10.1| | | | | | | | | |
|`cusolverDnZheevj`|9.0| | | | | | | | | |
|`cusolverDnZheevjBatched`|9.0| | | | | | | | | |
|`cusolverDnZheevjBatched_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnZheevj_bufferSize`|9.0| | | | | | | | | |
|`cusolverDnZhegvd`|8.0| | | | | | | | | |
|`cusolverDnZhegvd_bufferSize`|8.0| | | | | | | | | |
|`cusolverDnZhegvdx`|10.1| | | | | | | | | |
Expand Down
Loading

0 comments on commit 25c3d66

Please sign in to comment.