Skip to content

Commit

Permalink
[HIPIFY][6.0.0][hipBLAS] Support for ROCm HIP 6.0.0 - Step 17 - Funct…
Browse files Browse the repository at this point in the history
…ions

+ Updated synthetic tests, the regenerated hipify-perl, and docs

[The changed mapping]
`hipblasCtrmm`         -> `hipblasCtrmm_v2`
`hipblasZtrmm`         -> `hipblasZtrmm_v2`
`hipblasCtrsm`         -> `hipblasCtrsm_v2`
`hipblasZtrsm`         -> `hipblasZtrsm_v2`
`hipblasCtrsmBatched`  -> `hipblasCtrsmBatched_v2`
`hipblasZtrsmBatched`  -> `hipblasZtrsmBatched_v2`
`hipblasCdgmm`         -> `hipblasCdgmm_v2`
`hipblasZdgmm`         -> `hipblasZdgmm_v2`
`hipblasCgetrfBatched` -> `hipblasCgetrfBatched_v2`
`hipblasZgetrfBatched` -> `hipblasZgetrfBatched_v2`
  • Loading branch information
emankov committed Oct 21, 2023
1 parent 388569f commit d7a46c9
Show file tree
Hide file tree
Showing 6 changed files with 113 additions and 103 deletions.
28 changes: 14 additions & 14 deletions bin/hipify-perl
Original file line number Diff line number Diff line change
Expand Up @@ -2940,7 +2940,7 @@ sub simpleSubstitutions {
subst("cublasCaxpy_v2", "hipblasCaxpy_v2", "library");
subst("cublasCcopy", "hipblasCcopy_v2", "library");
subst("cublasCcopy_v2", "hipblasCcopy_v2", "library");
subst("cublasCdgmm", "hipblasCdgmm", "library");
subst("cublasCdgmm", "hipblasCdgmm_v2", "library");
subst("cublasCdotc", "hipblasCdotc_v2", "library");
subst("cublasCdotc_v2", "hipblasCdotc_v2", "library");
subst("cublasCdotu", "hipblasCdotu_v2", "library");
Expand All @@ -2962,7 +2962,7 @@ sub simpleSubstitutions {
subst("cublasCgerc_v2", "hipblasCgerc_v2", "library");
subst("cublasCgeru", "hipblasCgeru_v2", "library");
subst("cublasCgeru_v2", "hipblasCgeru_v2", "library");
subst("cublasCgetrfBatched", "hipblasCgetrfBatched", "library");
subst("cublasCgetrfBatched", "hipblasCgetrfBatched_v2", "library");
subst("cublasCgetriBatched", "hipblasCgetriBatched", "library");
subst("cublasCgetrsBatched", "hipblasCgetrsBatched", "library");
subst("cublasChbmv", "hipblasChbmv_v2", "library");
Expand Down Expand Up @@ -3021,13 +3021,13 @@ sub simpleSubstitutions {
subst("cublasCtpmv_v2", "hipblasCtpmv_v2", "library");
subst("cublasCtpsv", "hipblasCtpsv_v2", "library");
subst("cublasCtpsv_v2", "hipblasCtpsv_v2", "library");
subst("cublasCtrmm", "hipblasCtrmm", "library");
subst("cublasCtrmm_v2", "hipblasCtrmm", "library");
subst("cublasCtrmm", "hipblasCtrmm_v2", "library");
subst("cublasCtrmm_v2", "hipblasCtrmm_v2", "library");
subst("cublasCtrmv", "hipblasCtrmv_v2", "library");
subst("cublasCtrmv_v2", "hipblasCtrmv_v2", "library");
subst("cublasCtrsm", "hipblasCtrsm", "library");
subst("cublasCtrsmBatched", "hipblasCtrsmBatched", "library");
subst("cublasCtrsm_v2", "hipblasCtrsm", "library");
subst("cublasCtrsm", "hipblasCtrsm_v2", "library");
subst("cublasCtrsmBatched", "hipblasCtrsmBatched_v2", "library");
subst("cublasCtrsm_v2", "hipblasCtrsm_v2", "library");
subst("cublasCtrsv", "hipblasCtrsv_v2", "library");
subst("cublasCtrsv_v2", "hipblasCtrsv_v2", "library");
subst("cublasDasum", "hipblasDasum", "library");
Expand Down Expand Up @@ -3243,7 +3243,7 @@ sub simpleSubstitutions {
subst("cublasZaxpy_v2", "hipblasZaxpy_v2", "library");
subst("cublasZcopy", "hipblasZcopy_v2", "library");
subst("cublasZcopy_v2", "hipblasZcopy_v2", "library");
subst("cublasZdgmm", "hipblasZdgmm", "library");
subst("cublasZdgmm", "hipblasZdgmm_v2", "library");
subst("cublasZdotc", "hipblasZdotc_v2", "library");
subst("cublasZdotc_v2", "hipblasZdotc_v2", "library");
subst("cublasZdotu", "hipblasZdotu_v2", "library");
Expand All @@ -3269,7 +3269,7 @@ sub simpleSubstitutions {
subst("cublasZgerc_v2", "hipblasZgerc_v2", "library");
subst("cublasZgeru", "hipblasZgeru_v2", "library");
subst("cublasZgeru_v2", "hipblasZgeru_v2", "library");
subst("cublasZgetrfBatched", "hipblasZgetrfBatched", "library");
subst("cublasZgetrfBatched", "hipblasZgetrfBatched_v2", "library");
subst("cublasZgetriBatched", "hipblasZgetriBatched", "library");
subst("cublasZgetrsBatched", "hipblasZgetrsBatched", "library");
subst("cublasZhbmv", "hipblasZhbmv_v2", "library");
Expand Down Expand Up @@ -3322,13 +3322,13 @@ sub simpleSubstitutions {
subst("cublasZtpmv_v2", "hipblasZtpmv_v2", "library");
subst("cublasZtpsv", "hipblasZtpsv_v2", "library");
subst("cublasZtpsv_v2", "hipblasZtpsv_v2", "library");
subst("cublasZtrmm", "hipblasZtrmm", "library");
subst("cublasZtrmm_v2", "hipblasZtrmm", "library");
subst("cublasZtrmm", "hipblasZtrmm_v2", "library");
subst("cublasZtrmm_v2", "hipblasZtrmm_v2", "library");
subst("cublasZtrmv", "hipblasZtrmv_v2", "library");
subst("cublasZtrmv_v2", "hipblasZtrmv_v2", "library");
subst("cublasZtrsm", "hipblasZtrsm", "library");
subst("cublasZtrsmBatched", "hipblasZtrsmBatched", "library");
subst("cublasZtrsm_v2", "hipblasZtrsm", "library");
subst("cublasZtrsm", "hipblasZtrsm_v2", "library");
subst("cublasZtrsmBatched", "hipblasZtrsmBatched_v2", "library");
subst("cublasZtrsm_v2", "hipblasZtrsm_v2", "library");
subst("cublasZtrsv", "hipblasZtrsv_v2", "library");
subst("cublasZtrsv_v2", "hipblasZtrsv_v2", "library");
subst("cuda_stream", "hip_stream", "library");
Expand Down
28 changes: 14 additions & 14 deletions docs/tables/CUBLAS_API_supported_by_HIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -755,13 +755,13 @@
|`cublasCsyrk_v2_64`|12.0| | | | | | | | |
|`cublasCsyrkx`| | | |`hipblasCsyrkx_v2`|6.0.0| | | |6.0.0|
|`cublasCsyrkx_64`|12.0| | | | | | | | |
|`cublasCtrmm`| | | |`hipblasCtrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasCtrmm`| | | |`hipblasCtrmm_v2`|6.0.0| | | |6.0.0|
|`cublasCtrmm_64`|12.0| | | | | | | | |
|`cublasCtrmm_v2`| | | |`hipblasCtrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasCtrmm_v2`| | | |`hipblasCtrmm_v2`|6.0.0| | | |6.0.0|
|`cublasCtrmm_v2_64`|12.0| | | | | | | | |
|`cublasCtrsm`| | | |`hipblasCtrsm`|3.5.0| | | | |
|`cublasCtrsm`| | | |`hipblasCtrsm_v2`|6.0.0| | | |6.0.0|
|`cublasCtrsm_64`|12.0| | | | | | | | |
|`cublasCtrsm_v2`| | | |`hipblasCtrsm`|3.5.0| | | | |
|`cublasCtrsm_v2`| | | |`hipblasCtrsm_v2`|6.0.0| | | |6.0.0|
|`cublasCtrsm_v2_64`|12.0| | | | | | | | |
|`cublasDgemm`| | | |`hipblasDgemm`|1.8.2| | | | |
|`cublasDgemmBatched`| | | |`hipblasDgemmBatched`|1.8.2| | | | |
Expand Down Expand Up @@ -895,13 +895,13 @@
|`cublasZsyrk_v2_64`|12.0| | | | | | | | |
|`cublasZsyrkx`| | | |`hipblasZsyrkx_v2`|6.0.0| | | |6.0.0|
|`cublasZsyrkx_64`|12.0| | | | | | | | |
|`cublasZtrmm`| | | |`hipblasZtrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasZtrmm`| | | |`hipblasZtrmm_v2`|6.0.0| | | |6.0.0|
|`cublasZtrmm_64`|12.0| | | | | | | | |
|`cublasZtrmm_v2`| | | |`hipblasZtrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasZtrmm_v2`| | | |`hipblasZtrmm_v2`|6.0.0| | | |6.0.0|
|`cublasZtrmm_v2_64`|12.0| | | | | | | | |
|`cublasZtrsm`| | | |`hipblasZtrsm`|3.5.0| | | | |
|`cublasZtrsm`| | | |`hipblasZtrsm_v2`|6.0.0| | | |6.0.0|
|`cublasZtrsm_64`|12.0| | | | | | | | |
|`cublasZtrsm_v2`| | | |`hipblasZtrsm`|3.5.0| | | | |
|`cublasZtrsm_v2`| | | |`hipblasZtrsm_v2`|6.0.0| | | |6.0.0|
|`cublasZtrsm_v2_64`|12.0| | | | | | | | |

## **8. BLAS-like Extension**
Expand All @@ -912,15 +912,15 @@
|`cublasAsumEx_64`|12.0| | | | | | | | |
|`cublasAxpyEx`|8.0| | |`hipblasAxpyEx`|4.1.0| | | | |
|`cublasAxpyEx_64`|12.0| | | | | | | | |
|`cublasCdgmm`| | | |`hipblasCdgmm`|3.6.0| | | | |
|`cublasCdgmm`| | | |`hipblasCdgmm_v2`|6.0.0| | | |6.0.0|
|`cublasCdgmm_64`|12.0| | | | | | | | |
|`cublasCgeam`| | | |`hipblasCgeam_v2`|6.0.0| | | |6.0.0|
|`cublasCgeam_64`|12.0| | | | | | | | |
|`cublasCgelsBatched`| | | |`hipblasCgelsBatched`|5.4.0| | | | |
|`cublasCgemmEx`|8.0| | | | | | | | |
|`cublasCgemmEx_64`|12.0| | | | | | | | |
|`cublasCgeqrfBatched`| | | |`hipblasCgeqrfBatched`|3.5.0| | | | |
|`cublasCgetrfBatched`| | | |`hipblasCgetrfBatched`|3.5.0| | | | |
|`cublasCgetrfBatched`| | | |`hipblasCgetrfBatched_v2`|6.0.0| | | |6.0.0|
|`cublasCgetriBatched`| | | |`hipblasCgetriBatched`|3.7.0| | | | |
|`cublasCgetrsBatched`| | | |`hipblasCgetrsBatched`|3.5.0| | | | |
|`cublasCherk3mEx`|8.0| | | | | | | | |
Expand All @@ -935,7 +935,7 @@
|`cublasCsyrkEx`|8.0| | | | | | | | |
|`cublasCsyrkEx_64`|12.0| | | | | | | | |
|`cublasCtpttr`| | | | | | | | | |
|`cublasCtrsmBatched`| | | |`hipblasCtrsmBatched`|3.5.0| | | | |
|`cublasCtrsmBatched`| | | |`hipblasCtrsmBatched_v2`|6.0.0| | | |6.0.0|
|`cublasCtrsmBatched_64`|12.0| | | | | | | | |
|`cublasCtrttp`| | | | | | | | | |
|`cublasDdgmm`| | | |`hipblasDdgmm`|3.6.0| | | | |
Expand Down Expand Up @@ -993,18 +993,18 @@
|`cublasSwapEx`|10.1| | | | | | | | |
|`cublasSwapEx_64`|12.0| | | | | | | | |
|`cublasUint8gemmBias`|8.0| | | | | | | | |
|`cublasZdgmm`| | | |`hipblasZdgmm`|3.6.0| | | | |
|`cublasZdgmm`| | | |`hipblasZdgmm_v2`|6.0.0| | | |6.0.0|
|`cublasZdgmm_64`|12.0| | | | | | | | |
|`cublasZgeam`| | | |`hipblasZgeam_v2`|6.0.0| | | |6.0.0|
|`cublasZgeam_64`|12.0| | | | | | | | |
|`cublasZgelsBatched`| | | |`hipblasZgelsBatched`|5.4.0| | | | |
|`cublasZgeqrfBatched`| | | |`hipblasZgeqrfBatched`|3.5.0| | | | |
|`cublasZgetrfBatched`| | | |`hipblasZgetrfBatched`|3.5.0| | | | |
|`cublasZgetrfBatched`| | | |`hipblasZgetrfBatched_v2`|6.0.0| | | |6.0.0|
|`cublasZgetriBatched`| | | |`hipblasZgetriBatched`|3.7.0| | | | |
|`cublasZgetrsBatched`| | | |`hipblasZgetrsBatched`|3.5.0| | | | |
|`cublasZmatinvBatched`| | | | | | | | | |
|`cublasZtpttr`| | | | | | | | | |
|`cublasZtrsmBatched`| | | |`hipblasZtrsmBatched`|3.5.0| | | | |
|`cublasZtrsmBatched`| | | |`hipblasZtrsmBatched_v2`|6.0.0| | | |6.0.0|
|`cublasZtrsmBatched_64`|12.0| | | | | | | | |
|`cublasZtrttp`| | | | | | | | | |

Expand Down
28 changes: 14 additions & 14 deletions docs/tables/CUBLAS_API_supported_by_HIP_and_ROC.md
Original file line number Diff line number Diff line change
Expand Up @@ -755,13 +755,13 @@
|`cublasCsyrk_v2_64`|12.0| | | | | | | | | | | | | | |
|`cublasCsyrkx`| | | |`hipblasCsyrkx_v2`|6.0.0| | | |6.0.0|`rocblas_csyrkx`|3.5.0| | | | |
|`cublasCsyrkx_64`|12.0| | | | | | | | | | | | | | |
|`cublasCtrmm`| | | |`hipblasCtrmm`|3.5.0| |6.0.0| |6.0.0|`rocblas_ctrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasCtrmm`| | | |`hipblasCtrmm_v2`|6.0.0| | | |6.0.0|`rocblas_ctrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasCtrmm_64`|12.0| | | | | | | | | | | | | | |
|`cublasCtrmm_v2`| | | |`hipblasCtrmm`|3.5.0| |6.0.0| |6.0.0|`rocblas_ctrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasCtrmm_v2`| | | |`hipblasCtrmm_v2`|6.0.0| | | |6.0.0|`rocblas_ctrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasCtrmm_v2_64`|12.0| | | | | | | | | | | | | | |
|`cublasCtrsm`| | | |`hipblasCtrsm`|3.5.0| | | | |`rocblas_ctrsm`|3.5.0| | | | |
|`cublasCtrsm`| | | |`hipblasCtrsm_v2`|6.0.0| | | |6.0.0|`rocblas_ctrsm`|3.5.0| | | | |
|`cublasCtrsm_64`|12.0| | | | | | | | | | | | | | |
|`cublasCtrsm_v2`| | | |`hipblasCtrsm`|3.5.0| | | | |`rocblas_ctrsm`|3.5.0| | | | |
|`cublasCtrsm_v2`| | | |`hipblasCtrsm_v2`|6.0.0| | | |6.0.0|`rocblas_ctrsm`|3.5.0| | | | |
|`cublasCtrsm_v2_64`|12.0| | | | | | | | | | | | | | |
|`cublasDgemm`| | | |`hipblasDgemm`|1.8.2| | | | |`rocblas_dgemm`|1.5.0| | | | |
|`cublasDgemmBatched`| | | |`hipblasDgemmBatched`|1.8.2| | | | |`rocblas_dgemm_batched`|3.5.0| | | | |
Expand Down Expand Up @@ -895,13 +895,13 @@
|`cublasZsyrk_v2_64`|12.0| | | | | | | | | | | | | | |
|`cublasZsyrkx`| | | |`hipblasZsyrkx_v2`|6.0.0| | | |6.0.0|`rocblas_zsyrkx`|3.5.0| | | | |
|`cublasZsyrkx_64`|12.0| | | | | | | | | | | | | | |
|`cublasZtrmm`| | | |`hipblasZtrmm`|3.5.0| |6.0.0| |6.0.0|`rocblas_ztrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasZtrmm`| | | |`hipblasZtrmm_v2`|6.0.0| | | |6.0.0|`rocblas_ztrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasZtrmm_64`|12.0| | | | | | | | | | | | | | |
|`cublasZtrmm_v2`| | | |`hipblasZtrmm`|3.5.0| |6.0.0| |6.0.0|`rocblas_ztrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasZtrmm_v2`| | | |`hipblasZtrmm_v2`|6.0.0| | | |6.0.0|`rocblas_ztrmm`|3.5.0| |6.0.0| |6.0.0|
|`cublasZtrmm_v2_64`|12.0| | | | | | | | | | | | | | |
|`cublasZtrsm`| | | |`hipblasZtrsm`|3.5.0| | | | |`rocblas_ztrsm`|3.5.0| | | | |
|`cublasZtrsm`| | | |`hipblasZtrsm_v2`|6.0.0| | | |6.0.0|`rocblas_ztrsm`|3.5.0| | | | |
|`cublasZtrsm_64`|12.0| | | | | | | | | | | | | | |
|`cublasZtrsm_v2`| | | |`hipblasZtrsm`|3.5.0| | | | |`rocblas_ztrsm`|3.5.0| | | | |
|`cublasZtrsm_v2`| | | |`hipblasZtrsm_v2`|6.0.0| | | |6.0.0|`rocblas_ztrsm`|3.5.0| | | | |
|`cublasZtrsm_v2_64`|12.0| | | | | | | | | | | | | | |

## **8. BLAS-like Extension**
Expand All @@ -912,15 +912,15 @@
|`cublasAsumEx_64`|12.0| | | | | | | | | | | | | | |
|`cublasAxpyEx`|8.0| | |`hipblasAxpyEx`|4.1.0| | | | |`rocblas_axpy_ex`|3.9.0| | | | |
|`cublasAxpyEx_64`|12.0| | | | | | | | | | | | | | |
|`cublasCdgmm`| | | |`hipblasCdgmm`|3.6.0| | | | |`rocblas_cdgmm`|3.5.0| | | | |
|`cublasCdgmm`| | | |`hipblasCdgmm_v2`|6.0.0| | | |6.0.0|`rocblas_cdgmm`|3.5.0| | | | |
|`cublasCdgmm_64`|12.0| | | | | | | | | | | | | | |
|`cublasCgeam`| | | |`hipblasCgeam_v2`|6.0.0| | | |6.0.0|`rocblas_cgeam`|3.5.0| | | | |
|`cublasCgeam_64`|12.0| | | | | | | | | | | | | | |
|`cublasCgelsBatched`| | | |`hipblasCgelsBatched`|5.4.0| | | | | | | | | | |
|`cublasCgemmEx`|8.0| | | | | | | | | | | | | | |
|`cublasCgemmEx_64`|12.0| | | | | | | | | | | | | | |
|`cublasCgeqrfBatched`| | | |`hipblasCgeqrfBatched`|3.5.0| | | | | | | | | | |
|`cublasCgetrfBatched`| | | |`hipblasCgetrfBatched`|3.5.0| | | | | | | | | | |
|`cublasCgetrfBatched`| | | |`hipblasCgetrfBatched_v2`|6.0.0| | | |6.0.0| | | | | | |
|`cublasCgetriBatched`| | | |`hipblasCgetriBatched`|3.7.0| | | | | | | | | | |
|`cublasCgetrsBatched`| | | |`hipblasCgetrsBatched`|3.5.0| | | | | | | | | | |
|`cublasCherk3mEx`|8.0| | | | | | | | | | | | | | |
Expand All @@ -935,7 +935,7 @@
|`cublasCsyrkEx`|8.0| | | | | | | | | | | | | | |
|`cublasCsyrkEx_64`|12.0| | | | | | | | | | | | | | |
|`cublasCtpttr`| | | | | | | | | | | | | | | |
|`cublasCtrsmBatched`| | | |`hipblasCtrsmBatched`|3.5.0| | | | |`rocblas_ctrsm_batched`|3.5.0| | | | |
|`cublasCtrsmBatched`| | | |`hipblasCtrsmBatched_v2`|6.0.0| | | |6.0.0|`rocblas_ctrsm_batched`|3.5.0| | | | |
|`cublasCtrsmBatched_64`|12.0| | | | | | | | | | | | | | |
|`cublasCtrttp`| | | | | | | | | | | | | | | |
|`cublasDdgmm`| | | |`hipblasDdgmm`|3.6.0| | | | |`rocblas_ddgmm`|3.5.0| | | | |
Expand Down Expand Up @@ -993,18 +993,18 @@
|`cublasSwapEx`|10.1| | | | | | | | | | | | | | |
|`cublasSwapEx_64`|12.0| | | | | | | | | | | | | | |
|`cublasUint8gemmBias`|8.0| | | | | | | | | | | | | | |
|`cublasZdgmm`| | | |`hipblasZdgmm`|3.6.0| | | | |`rocblas_zdgmm`|3.5.0| | | | |
|`cublasZdgmm`| | | |`hipblasZdgmm_v2`|6.0.0| | | |6.0.0|`rocblas_zdgmm`|3.5.0| | | | |
|`cublasZdgmm_64`|12.0| | | | | | | | | | | | | | |
|`cublasZgeam`| | | |`hipblasZgeam_v2`|6.0.0| | | |6.0.0|`rocblas_zgeam`|3.5.0| | | | |
|`cublasZgeam_64`|12.0| | | | | | | | | | | | | | |
|`cublasZgelsBatched`| | | |`hipblasZgelsBatched`|5.4.0| | | | | | | | | | |
|`cublasZgeqrfBatched`| | | |`hipblasZgeqrfBatched`|3.5.0| | | | | | | | | | |
|`cublasZgetrfBatched`| | | |`hipblasZgetrfBatched`|3.5.0| | | | | | | | | | |
|`cublasZgetrfBatched`| | | |`hipblasZgetrfBatched_v2`|6.0.0| | | |6.0.0| | | | | | |
|`cublasZgetriBatched`| | | |`hipblasZgetriBatched`|3.7.0| | | | | | | | | | |
|`cublasZgetrsBatched`| | | |`hipblasZgetrsBatched`|3.5.0| | | | | | | | | | |
|`cublasZmatinvBatched`| | | | | | | | | | | | | | | |
|`cublasZtpttr`| | | | | | | | | | | | | | | |
|`cublasZtrsmBatched`| | | |`hipblasZtrsmBatched`|3.5.0| | | | |`rocblas_ztrsm_batched`|3.5.0| | | | |
|`cublasZtrsmBatched`| | | |`hipblasZtrsmBatched_v2`|6.0.0| | | |6.0.0|`rocblas_ztrsm_batched`|3.5.0| | | | |
|`cublasZtrsmBatched_64`|12.0| | | | | | | | | | | | | | |
|`cublasZtrttp`| | | | | | | | | | | | | | | |

Expand Down
Loading

0 comments on commit d7a46c9

Please sign in to comment.