Skip to content

Commit

Permalink
[HIPIFY][ROCm#674][rocSPARSE][feature] rocSPARSE support - Step 53 - …
Browse files Browse the repository at this point in the history
…functions `rocsparse_(s|d|c|z)bsrsm_solve` + `rocsparse_csrgeam_nnz`

+ `bsrsm2Info_t` -> `rocsparse_mat_info`
+ Updated synthetic tests and the regenerated hipify-perl and SPARSE docs
  • Loading branch information
emankov committed Nov 3, 2023
1 parent 53e503d commit 8c40864
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 31 deletions.
7 changes: 7 additions & 0 deletions bin/hipify-perl
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,7 @@ sub rocSubstitutions {
subst("cusparseCbsrilu02", "rocsparse_cbsrilu0", "library");
subst("cusparseCbsrilu02_analysis", "rocsparse_cbsrilu0_analysis", "library");
subst("cusparseCbsrilu02_numericBoost", "rocsparse_dcbsrilu0_numeric_boost", "library");
subst("cusparseCbsrsm2_solve", "rocsparse_cbsrsm_solve", "library");
subst("cusparseCcsc2dense", "rocsparse_ccsc2dense", "library");
subst("cusparseCcsr2bsr", "rocsparse_ccsr2bsr", "library");
subst("cusparseCcsr2csr_compress", "rocsparse_ccsr2csr_compress", "library");
Expand Down Expand Up @@ -1824,6 +1825,7 @@ sub rocSubstitutions {
subst("cusparseDbsrilu02", "rocsparse_dbsrilu0", "library");
subst("cusparseDbsrilu02_analysis", "rocsparse_dbsrilu0_analysis", "library");
subst("cusparseDbsrilu02_numericBoost", "rocsparse_dbsrilu0_numeric_boost", "library");
subst("cusparseDbsrsm2_solve", "rocsparse_dbsrsm_solve", "library");
subst("cusparseDcsc2dense", "rocsparse_dcsc2dense", "library");
subst("cusparseDcsr2bsr", "rocsparse_dcsr2bsr", "library");
subst("cusparseDcsr2csr_compress", "rocsparse_dcsr2csr_compress", "library");
Expand Down Expand Up @@ -1908,6 +1910,7 @@ sub rocSubstitutions {
subst("cusparseSbsrilu02", "rocsparse_sbsrilu0", "library");
subst("cusparseSbsrilu02_analysis", "rocsparse_sbsrilu0_analysis", "library");
subst("cusparseSbsrilu02_numericBoost", "rocsparse_dsbsrilu0_numeric_boost", "library");
subst("cusparseSbsrsm2_solve", "rocsparse_sbsrsm_solve", "library");
subst("cusparseScatter", "rocsparse_scatter", "library");
subst("cusparseScsc2dense", "rocsparse_scsc2dense", "library");
subst("cusparseScsr2bsr", "rocsparse_scsr2bsr", "library");
Expand Down Expand Up @@ -1989,6 +1992,7 @@ sub rocSubstitutions {
subst("cusparseXcsr2bsrNnz", "rocsparse_csr2bsr_nnz", "library");
subst("cusparseXcsr2coo", "rocsparse_csr2coo", "library");
subst("cusparseXcsr2gebsrNnz", "rocsparse_csr2gebsr_nnz", "library");
subst("cusparseXcsrgeamNnz", "rocsparse_csrgeam_nnz", "library");
subst("cusparseXcsrgemm2Nnz", "rocsparse_csrgemm_nnz", "library");
subst("cusparseXcsric02_zeroPivot", "rocsparse_csric0_zero_pivot", "library");
subst("cusparseXcsrilu02_zeroPivot", "rocsparse_csrilu0_zero_pivot", "library");
Expand All @@ -2002,6 +2006,7 @@ sub rocSubstitutions {
subst("cusparseZbsrilu02", "rocsparse_zbsrilu0", "library");
subst("cusparseZbsrilu02_analysis", "rocsparse_zbsrilu0_analysis", "library");
subst("cusparseZbsrilu02_numericBoost", "rocsparse_zbsrilu0_numeric_boost", "library");
subst("cusparseZbsrsm2_solve", "rocsparse_zbsrsm_solve", "library");
subst("cusparseZcsc2dense", "rocsparse_zcsc2dense", "library");
subst("cusparseZcsr2bsr", "rocsparse_zcsr2bsr", "library");
subst("cusparseZcsr2csr_compress", "rocsparse_zcsr2csr_compress", "library");
Expand Down Expand Up @@ -2047,6 +2052,8 @@ sub rocSubstitutions {
subst("bsric02Info_t", "rocsparse_mat_info", "type");
subst("bsrilu02Info", "_rocsparse_mat_info", "type");
subst("bsrilu02Info_t", "rocsparse_mat_info", "type");
subst("bsrsm2Info", "_rocsparse_mat_info", "type");
subst("bsrsm2Info_t", "rocsparse_mat_info", "type");
subst("csrgemm2Info", "_rocsparse_mat_info", "type");
subst("csrgemm2Info_t", "rocsparse_mat_info", "type");
subst("csric02Info", "_rocsparse_mat_info", "type");
Expand Down
14 changes: 7 additions & 7 deletions docs/tables/CUSPARSE_API_supported_by_HIP_and_ROC.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
|`bsric02Info_t`| | | | |`bsric02Info_t`|3.8.0| | | | |`rocsparse_mat_info`|1.9.0| | | | |
|`bsrilu02Info`| |12.2| | |`bsrilu02Info`|3.9.0| | | | |`_rocsparse_mat_info`|1.9.0| | | | |
|`bsrilu02Info_t`| |12.2| | |`bsrilu02Info_t`|3.9.0| | | | |`rocsparse_mat_info`|1.9.0| | | | |
|`bsrsm2Info`| |12.2| | |`bsrsm2Info`|4.5.0| | | | | | | | | | |
|`bsrsm2Info_t`| |12.2| | |`bsrsm2Info_t`|4.5.0| | | | | | | | | | |
|`bsrsm2Info`| |12.2| | |`bsrsm2Info`|4.5.0| | | | |`_rocsparse_mat_info`|1.9.0| | | | |
|`bsrsm2Info_t`| |12.2| | |`bsrsm2Info_t`|4.5.0| | | | |`rocsparse_mat_info`|1.9.0| | | | |
|`bsrsv2Info`| |12.2| | |`bsrsv2Info`|3.6.0| | | | | | | | | | |
|`bsrsv2Info_t`| |12.2| | |`bsrsv2Info_t`|3.6.0| | | | | | | | | | |
|`csrgemm2Info`| | | |12.0|`csrgemm2Info`|2.8.0| | | | |`_rocsparse_mat_info`|1.9.0| | | | |
Expand Down Expand Up @@ -383,7 +383,7 @@
|`cusparseCbsrsm2_analysis`| |12.2| | |`hipsparseCbsrsm2_analysis`|4.5.0| | | | | | | | | | |
|`cusparseCbsrsm2_bufferSize`| |12.2| | |`hipsparseCbsrsm2_bufferSize`|4.5.0| | | | | | | | | | |
|`cusparseCbsrsm2_bufferSizeExt`| |12.2| | | | | | | | | | | | | | |
|`cusparseCbsrsm2_solve`| |12.2| | |`hipsparseCbsrsm2_solve`|4.5.0| | | | | | | | | | |
|`cusparseCbsrsm2_solve`| |12.2| | |`hipsparseCbsrsm2_solve`|4.5.0| | | | |`rocsparse_cbsrsm_solve`|4.5.0| | | | |
|`cusparseCcsrmm`| |10.2| |11.0|`hipsparseCcsrmm`|3.1.0| | | | | | | | | | |
|`cusparseCcsrmm2`| |10.2| |11.0|`hipsparseCcsrmm2`|3.1.0| | | | | | | | | | |
|`cusparseCcsrsm2_analysis`|10.0|11.3| |12.0|`hipsparseCcsrsm2_analysis`|3.1.0| | | | | | | | | | |
Expand All @@ -396,7 +396,7 @@
|`cusparseDbsrsm2_analysis`| |12.2| | |`hipsparseDbsrsm2_analysis`|4.5.0| | | | | | | | | | |
|`cusparseDbsrsm2_bufferSize`| |12.2| | |`hipsparseDbsrsm2_bufferSize`|4.5.0| | | | | | | | | | |
|`cusparseDbsrsm2_bufferSizeExt`| |12.2| | | | | | | | | | | | | | |
|`cusparseDbsrsm2_solve`| |12.2| | |`hipsparseDbsrsm2_solve`|4.5.0| | | | | | | | | | |
|`cusparseDbsrsm2_solve`| |12.2| | |`hipsparseDbsrsm2_solve`|4.5.0| | | | |`rocsparse_dbsrsm_solve`|4.5.0| | | | |
|`cusparseDcsrmm`| |10.2| |11.0|`hipsparseDcsrmm`|1.9.2| | | | | | | | | | |
|`cusparseDcsrmm2`| |10.2| |11.0|`hipsparseDcsrmm2`|1.9.2| | | | | | | | | | |
|`cusparseDcsrsm2_analysis`|10.0|11.3| |12.0|`hipsparseDcsrsm2_analysis`|3.1.0| | | | | | | | | | |
Expand All @@ -409,7 +409,7 @@
|`cusparseSbsrsm2_analysis`| |12.2| | |`hipsparseSbsrsm2_analysis`|4.5.0| | | | | | | | | | |
|`cusparseSbsrsm2_bufferSize`| |12.2| | |`hipsparseSbsrsm2_bufferSize`|4.5.0| | | | | | | | | | |
|`cusparseSbsrsm2_bufferSizeExt`| |12.2| | | | | | | | | | | | | | |
|`cusparseSbsrsm2_solve`| |12.2| | |`hipsparseSbsrsm2_solve`|4.5.0| | | | | | | | | | |
|`cusparseSbsrsm2_solve`| |12.2| | |`hipsparseSbsrsm2_solve`|4.5.0| | | | |`rocsparse_sbsrsm_solve`|4.5.0| | | | |
|`cusparseScsrmm`| |10.2| |11.0|`hipsparseScsrmm`|1.9.2| | | | | | | | | | |
|`cusparseScsrmm2`| |10.2| |11.0|`hipsparseScsrmm2`|1.9.2| | | | | | | | | | |
|`cusparseScsrsm2_analysis`|10.0|11.3| |12.0|`hipsparseScsrsm2_analysis`|3.1.0| | | | | | | | | | |
Expand All @@ -424,7 +424,7 @@
|`cusparseZbsrsm2_analysis`| |12.2| | |`hipsparseZbsrsm2_analysis`|4.5.0| | | | | | | | | | |
|`cusparseZbsrsm2_bufferSize`| |12.2| | |`hipsparseZbsrsm2_bufferSize`|4.5.0| | | | | | | | | | |
|`cusparseZbsrsm2_bufferSizeExt`| |12.2| | | | | | | | | | | | | | |
|`cusparseZbsrsm2_solve`| |12.2| | |`hipsparseZbsrsm2_solve`|4.5.0| | | | | | | | | | |
|`cusparseZbsrsm2_solve`| |12.2| | |`hipsparseZbsrsm2_solve`|4.5.0| | | | |`rocsparse_zbsrsm_solve`|4.5.0| | | | |
|`cusparseZcsrmm`| |10.2| |11.0|`hipsparseZcsrmm`|3.1.0| | | | | | | | | | |
|`cusparseZcsrmm2`| |10.2| |11.0|`hipsparseZcsrmm2`|3.1.0| | | | | | | | | | |
|`cusparseZcsrsm2_analysis`|10.0|11.3| |12.0|`hipsparseZcsrsm2_analysis`|3.1.0| | | | | | | | | | |
Expand Down Expand Up @@ -457,7 +457,7 @@
|`cusparseScsrgemm2`| |11.0| |12.0|`hipsparseScsrgemm2`|2.8.0| | | | | | | | | | |
|`cusparseScsrgemm2_bufferSizeExt`| |11.0| |12.0|`hipsparseScsrgemm2_bufferSizeExt`|2.8.0| | | | |`rocsparse_scsrgemm_buffer_size`|2.8.0| | | | |
|`cusparseXcsrgeam2Nnz`|10.0| | | |`hipsparseXcsrgeam2Nnz`|3.5.0| | | | | | | | | | |
|`cusparseXcsrgeamNnz`| |10.2| |11.0|`hipsparseXcsrgeamNnz`|3.5.0| | | | | | | | | | |
|`cusparseXcsrgeamNnz`| |10.2| |11.0|`hipsparseXcsrgeamNnz`|3.5.0| | | | |`rocsparse_csrgeam_nnz`|3.5.0| | | | |
|`cusparseXcsrgemm2Nnz`| |11.0| |12.0|`hipsparseXcsrgemm2Nnz`|2.8.0| | | | |`rocsparse_csrgemm_nnz`|2.8.0| | | | |
|`cusparseXcsrgemmNnz`| |10.2| |11.0|`hipsparseXcsrgemmNnz`|2.8.0| | | | | | | | | | |
|`cusparseZcsrgeam`| |10.2| |11.0|`hipsparseZcsrgeam`|3.5.0| | | | |`rocsparse_zcsrgeam`|3.5.0| | | | |
Expand Down
14 changes: 7 additions & 7 deletions docs/tables/CUSPARSE_API_supported_by_ROC.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
|`bsric02Info_t`| | | | |`rocsparse_mat_info`|1.9.0| | | | |
|`bsrilu02Info`| |12.2| | |`_rocsparse_mat_info`|1.9.0| | | | |
|`bsrilu02Info_t`| |12.2| | |`rocsparse_mat_info`|1.9.0| | | | |
|`bsrsm2Info`| |12.2| | | | | | | | |
|`bsrsm2Info_t`| |12.2| | | | | | | | |
|`bsrsm2Info`| |12.2| | |`_rocsparse_mat_info`|1.9.0| | | | |
|`bsrsm2Info_t`| |12.2| | |`rocsparse_mat_info`|1.9.0| | | | |
|`bsrsv2Info`| |12.2| | | | | | | | |
|`bsrsv2Info_t`| |12.2| | | | | | | | |
|`csrgemm2Info`| | | |12.0|`_rocsparse_mat_info`|1.9.0| | | | |
Expand Down Expand Up @@ -383,7 +383,7 @@
|`cusparseCbsrsm2_analysis`| |12.2| | | | | | | | |
|`cusparseCbsrsm2_bufferSize`| |12.2| | | | | | | | |
|`cusparseCbsrsm2_bufferSizeExt`| |12.2| | | | | | | | |
|`cusparseCbsrsm2_solve`| |12.2| | | | | | | | |
|`cusparseCbsrsm2_solve`| |12.2| | |`rocsparse_cbsrsm_solve`|4.5.0| | | | |
|`cusparseCcsrmm`| |10.2| |11.0| | | | | | |
|`cusparseCcsrmm2`| |10.2| |11.0| | | | | | |
|`cusparseCcsrsm2_analysis`|10.0|11.3| |12.0| | | | | | |
Expand All @@ -396,7 +396,7 @@
|`cusparseDbsrsm2_analysis`| |12.2| | | | | | | | |
|`cusparseDbsrsm2_bufferSize`| |12.2| | | | | | | | |
|`cusparseDbsrsm2_bufferSizeExt`| |12.2| | | | | | | | |
|`cusparseDbsrsm2_solve`| |12.2| | | | | | | | |
|`cusparseDbsrsm2_solve`| |12.2| | |`rocsparse_dbsrsm_solve`|4.5.0| | | | |
|`cusparseDcsrmm`| |10.2| |11.0| | | | | | |
|`cusparseDcsrmm2`| |10.2| |11.0| | | | | | |
|`cusparseDcsrsm2_analysis`|10.0|11.3| |12.0| | | | | | |
Expand All @@ -409,7 +409,7 @@
|`cusparseSbsrsm2_analysis`| |12.2| | | | | | | | |
|`cusparseSbsrsm2_bufferSize`| |12.2| | | | | | | | |
|`cusparseSbsrsm2_bufferSizeExt`| |12.2| | | | | | | | |
|`cusparseSbsrsm2_solve`| |12.2| | | | | | | | |
|`cusparseSbsrsm2_solve`| |12.2| | |`rocsparse_sbsrsm_solve`|4.5.0| | | | |
|`cusparseScsrmm`| |10.2| |11.0| | | | | | |
|`cusparseScsrmm2`| |10.2| |11.0| | | | | | |
|`cusparseScsrsm2_analysis`|10.0|11.3| |12.0| | | | | | |
Expand All @@ -424,7 +424,7 @@
|`cusparseZbsrsm2_analysis`| |12.2| | | | | | | | |
|`cusparseZbsrsm2_bufferSize`| |12.2| | | | | | | | |
|`cusparseZbsrsm2_bufferSizeExt`| |12.2| | | | | | | | |
|`cusparseZbsrsm2_solve`| |12.2| | | | | | | | |
|`cusparseZbsrsm2_solve`| |12.2| | |`rocsparse_zbsrsm_solve`|4.5.0| | | | |
|`cusparseZcsrmm`| |10.2| |11.0| | | | | | |
|`cusparseZcsrmm2`| |10.2| |11.0| | | | | | |
|`cusparseZcsrsm2_analysis`|10.0|11.3| |12.0| | | | | | |
Expand Down Expand Up @@ -457,7 +457,7 @@
|`cusparseScsrgemm2`| |11.0| |12.0| | | | | | |
|`cusparseScsrgemm2_bufferSizeExt`| |11.0| |12.0|`rocsparse_scsrgemm_buffer_size`|2.8.0| | | | |
|`cusparseXcsrgeam2Nnz`|10.0| | | | | | | | | |
|`cusparseXcsrgeamNnz`| |10.2| |11.0| | | | | | |
|`cusparseXcsrgeamNnz`| |10.2| |11.0|`rocsparse_csrgeam_nnz`|3.5.0| | | | |
|`cusparseXcsrgemm2Nnz`| |11.0| |12.0|`rocsparse_csrgemm_nnz`|2.8.0| | | | |
|`cusparseXcsrgemmNnz`| |10.2| |11.0| | | | | | |
|`cusparseZcsrgeam`| |10.2| |11.0|`rocsparse_zcsrgeam`|3.5.0| | | | |
Expand Down
17 changes: 12 additions & 5 deletions src/CUDA2HIP_SPARSE_API_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,14 @@ const std::map<llvm::StringRef, hipCounter> CUDA_SPARSE_FUNCTION_MAP {
{"cusparseCbsrsm2_analysis", {"hipsparseCbsrsm2_analysis", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"cusparseZbsrsm2_analysis", {"hipsparseZbsrsm2_analysis", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED}},

{"cusparseSbsrsm2_solve", {"hipsparseSbsrsm2_solve", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"cusparseDbsrsm2_solve", {"hipsparseDbsrsm2_solve", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"cusparseCbsrsm2_solve", {"hipsparseCbsrsm2_solve", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"cusparseZbsrsm2_solve", {"hipsparseZbsrsm2_solve", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"cusparseSbsrsm2_solve", {"hipsparseSbsrsm2_solve", "rocsparse_sbsrsm_solve", CONV_LIB_FUNC, API_SPARSE, 10, CUDA_DEPRECATED}},
{"cusparseDbsrsm2_solve", {"hipsparseDbsrsm2_solve", "rocsparse_dbsrsm_solve", CONV_LIB_FUNC, API_SPARSE, 10, CUDA_DEPRECATED}},
{"cusparseCbsrsm2_solve", {"hipsparseCbsrsm2_solve", "rocsparse_cbsrsm_solve", CONV_LIB_FUNC, API_SPARSE, 10, CUDA_DEPRECATED}},
{"cusparseZbsrsm2_solve", {"hipsparseZbsrsm2_solve", "rocsparse_zbsrsm_solve", CONV_LIB_FUNC, API_SPARSE, 10, CUDA_DEPRECATED}},
{"cusparseXbsrsm2_zeroPivot", {"hipsparseXbsrsm2_zeroPivot", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED}},

// NOTE: rocsparse_(s|d|c|z)gemmi have additional argument: rocsparse_mat_descr
// TODO: Add rocsparse_create_mat_descr() call before rocsparse_(s|d|c|z)gemmi call and rocsparse_destroy_mat_descr() after
{"cusparseSgemmi", {"hipsparseSgemmi", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED | CUDA_REMOVED}},
{"cusparseDgemmi", {"hipsparseDgemmi", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED | CUDA_REMOVED}},
{"cusparseCgemmi", {"hipsparseCgemmi", "", CONV_LIB_FUNC, API_SPARSE, 10, ROC_UNSUPPORTED | CUDA_DEPRECATED | CUDA_REMOVED}},
Expand All @@ -289,7 +291,7 @@ const std::map<llvm::StringRef, hipCounter> CUDA_SPARSE_FUNCTION_MAP {
{"cusparseDcsrgeam", {"hipsparseDcsrgeam", "rocsparse_dcsrgeam", CONV_LIB_FUNC, API_SPARSE, 11, CUDA_DEPRECATED | CUDA_REMOVED}},
{"cusparseCcsrgeam", {"hipsparseCcsrgeam", "rocsparse_ccsrgeam", CONV_LIB_FUNC, API_SPARSE, 11, CUDA_DEPRECATED | CUDA_REMOVED}},
{"cusparseZcsrgeam", {"hipsparseZcsrgeam", "rocsparse_zcsrgeam", CONV_LIB_FUNC, API_SPARSE, 11, CUDA_DEPRECATED | CUDA_REMOVED}},
{"cusparseXcsrgeamNnz", {"hipsparseXcsrgeamNnz", "", CONV_LIB_FUNC, API_SPARSE, 11, ROC_UNSUPPORTED | CUDA_DEPRECATED | CUDA_REMOVED}},
{"cusparseXcsrgeamNnz", {"hipsparseXcsrgeamNnz", "rocsparse_csrgeam_nnz", CONV_LIB_FUNC, API_SPARSE, 11, CUDA_DEPRECATED | CUDA_REMOVED}},

{"cusparseScsrgeam2", {"hipsparseScsrgeam2", "", CONV_LIB_FUNC, API_SPARSE, 11, ROC_UNSUPPORTED}},
{"cusparseDcsrgeam2", {"hipsparseDcsrgeam2", "", CONV_LIB_FUNC, API_SPARSE, 11, ROC_UNSUPPORTED}},
Expand Down Expand Up @@ -2273,6 +2275,11 @@ const std::map<llvm::StringRef, hipAPIversions> HIP_SPARSE_FUNCTION_VER_MAP {
{"rocsparse_ccsrgeam", {HIP_3050, HIP_0, HIP_0 }},
{"rocsparse_dcsrgeam", {HIP_3050, HIP_0, HIP_0 }},
{"rocsparse_scsrgeam", {HIP_3050, HIP_0, HIP_0 }},
{"rocsparse_csrgeam_nnz", {HIP_3050, HIP_0, HIP_0 }},
{"rocsparse_zbsrsm_solve", {HIP_4050, HIP_0, HIP_0 }},
{"rocsparse_cbsrsm_solve", {HIP_4050, HIP_0, HIP_0 }},
{"rocsparse_dbsrsm_solve", {HIP_4050, HIP_0, HIP_0 }},
{"rocsparse_sbsrsm_solve", {HIP_4050, HIP_0, HIP_0 }},
};

const std::map<llvm::StringRef, cudaAPIChangedVersions> CUDA_SPARSE_FUNCTION_CHANGED_VER_MAP {
Expand Down
4 changes: 2 additions & 2 deletions src/CUDA2HIP_SPARSE_API_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const std::map<llvm::StringRef, hipCounter> CUDA_SPARSE_TYPE_NAME_MAP {
{"bsrsv2Info", {"bsrsv2Info", "", CONV_TYPE, API_SPARSE, 4, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"bsrsv2Info_t", {"bsrsv2Info_t", "", CONV_TYPE, API_SPARSE, 4, ROC_UNSUPPORTED | CUDA_DEPRECATED}},

{"bsrsm2Info", {"bsrsm2Info", "", CONV_TYPE, API_SPARSE, 4, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"bsrsm2Info_t", {"bsrsm2Info_t", "", CONV_TYPE, API_SPARSE, 4, ROC_UNSUPPORTED | CUDA_DEPRECATED}},
{"bsrsm2Info", {"bsrsm2Info", "_rocsparse_mat_info", CONV_TYPE, API_SPARSE, 4, CUDA_DEPRECATED}},
{"bsrsm2Info_t", {"bsrsm2Info_t", "rocsparse_mat_info", CONV_TYPE, API_SPARSE, 4, CUDA_DEPRECATED}},

{"bsric02Info", {"bsric02Info", "_rocsparse_mat_info", CONV_TYPE, API_SPARSE, 4, CUDA_DEPRECATED}},
{"bsric02Info_t", {"bsric02Info_t", "rocsparse_mat_info", CONV_TYPE, API_SPARSE, 4, CUDA_DEPRECATED}},
Expand Down
Loading

0 comments on commit 8c40864

Please sign in to comment.