diff --git a/bin/hipify-perl b/bin/hipify-perl index 7cf73462..ea968d8f 100755 --- a/bin/hipify-perl +++ b/bin/hipify-perl @@ -7659,6 +7659,37 @@ sub warnUnsupportedFunctions { "cusparseBsrSetStridedBatch", "cusparseAlgMode_t", "cusolverStorevMode_t", + "cusolverSpZcsrlsvqrHost", + "cusolverSpZcsrlsvqr", + "cusolverSpZcsrlsvluHost", + "cusolverSpZcsrlsvcholHost", + "cusolverSpZcsrlsvchol", + "cusolverSpZcsrlsqvqrHost", + "cusolverSpXcsrissymHost", + "cusolverSpSetStream", + "cusolverSpScsrlsvqrHost", + "cusolverSpScsrlsvqr", + "cusolverSpScsrlsvluHost", + "cusolverSpScsrlsvcholHost", + "cusolverSpScsrlsvchol", + "cusolverSpScsrlsqvqrHost", + "cusolverSpHandle_t", + "cusolverSpGetStream", + "cusolverSpDestroy", + "cusolverSpDcsrlsvqrHost", + "cusolverSpDcsrlsvqr", + "cusolverSpDcsrlsvluHost", + "cusolverSpDcsrlsvcholHost", + "cusolverSpDcsrlsvchol", + "cusolverSpDcsrlsqvqrHost", + "cusolverSpCreate", + "cusolverSpContext", + "cusolverSpCcsrlsvqrHost", + "cusolverSpCcsrlsvqr", + "cusolverSpCcsrlsvluHost", + "cusolverSpCcsrlsvcholHost", + "cusolverSpCcsrlsvchol", + "cusolverSpCcsrlsqvqrHost", "cusolverRfGetAlgs", "cusolverRfCommon", "cusolverPrecType_t", @@ -8855,6 +8886,8 @@ sub warnUnsupportedFunctions { "cuArrayGetMemoryRequirements", "csrsv2Info", "csrsm2Info", + "csrqrInfo_t", + "csrqrInfo", "cl_event_flags_enum", "cl_event_flags", "cl_context_flags_enum", diff --git a/docs/tables/CUSOLVER_API_supported_by_HIP.md b/docs/tables/CUSOLVER_API_supported_by_HIP.md index df6c5963..2d86ee2d 100644 --- a/docs/tables/CUSOLVER_API_supported_by_HIP.md +++ b/docs/tables/CUSOLVER_API_supported_by_HIP.md @@ -96,6 +96,8 @@ |`CUSOLVER_STATUS_NOT_SUPPORTED`| | | | |`HIPSOLVER_STATUS_NOT_SUPPORTED`|4.5.0| | | |6.1.0| |`CUSOLVER_STATUS_SUCCESS`| | | | |`HIPSOLVER_STATUS_SUCCESS`|4.5.0| | | |6.1.0| |`CUSOLVER_STATUS_ZERO_PIVOT`| | | | |`HIPSOLVER_STATUS_ZERO_PIVOT`|5.6.0| | | |6.1.0| +|`csrqrInfo`| | | | | | | | | | | +|`csrqrInfo_t`| | | | | | | | | | | |`cudaLibMgGrid_t`|10.1| | | | | | | | | | |`cudaLibMgMatrixDesc_t`|10.1| | | | | | | | | | |`cusolverAlgMode_t`|11.0| | | | | | | | | | @@ -128,6 +130,8 @@ |`cusolverRfResetValuesFastMode_t`| | | | |`hipsolverRfResetValuesFastMode_t`|5.6.0| | | |6.1.0| |`cusolverRfTriangularSolve_t`| | | | |`hipsolverRfTriangularSolve_t`|5.6.0| | | |6.1.0| |`cusolverRfUnitDiagonal_t`| | | | |`hipsolverRfUnitDiagonal_t`|5.6.0| | | |6.1.0| +|`cusolverSpContext`| | | | | | | | | | | +|`cusolverSpHandle_t`| | | | | | | | | | | |`cusolverStatus_t`| | | | |`hipsolverStatus_t`|4.5.0| | | |6.1.0| |`cusolverStorevMode_t`|11.0| | | | | | | | | | |`cusolver_int_t`|10.1| | | |`int`| | | | | | @@ -565,6 +569,35 @@ |`cusolverRfSetupDevice`| | | | |`hipsolverRfSetupDevice`|5.6.0| | | |6.1.0| |`cusolverRfSetupHost`| | | | |`hipsolverRfSetupHost`|5.6.0| | | |6.1.0| |`cusolverRfSolve`| | | | |`hipsolverRfSolve`|5.6.0| | | |6.1.0| +|`cusolverSpCcsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpCcsrlsvchol`| | | | | | | | | | | +|`cusolverSpCcsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpCcsrlsvluHost`| | | | | | | | | | | +|`cusolverSpCcsrlsvqr`| | | | | | | | | | | +|`cusolverSpCcsrlsvqrHost`| | | | | | | | | | | +|`cusolverSpCreate`| | | | | | | | | | | +|`cusolverSpDcsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpDcsrlsvchol`| | | | | | | | | | | +|`cusolverSpDcsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpDcsrlsvluHost`| | | | | | | | | | | +|`cusolverSpDcsrlsvqr`| | | | | | | | | | | +|`cusolverSpDcsrlsvqrHost`| | | | | | | | | | | +|`cusolverSpDestroy`| | | | | | | | | | | +|`cusolverSpGetStream`| | | | | | | | | | | +|`cusolverSpScsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpScsrlsvchol`| | | | | | | | | | | +|`cusolverSpScsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpScsrlsvluHost`| | | | | | | | | | | +|`cusolverSpScsrlsvqr`| | | | | | | | | | | +|`cusolverSpScsrlsvqrHost`| | | | | | | | | | | +|`cusolverSpSetStream`| | | | | | | | | | | +|`cusolverSpXcsrissymHost`| | | | | | | | | | | +|`cusolverSpZcsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpZcsrlsvchol`| | | | | | | | | | | +|`cusolverSpZcsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpZcsrlsvluHost`| | | | | | | | | | | +|`cusolverSpZcsrlsvqr`| | | | | | | | | | | +|`cusolverSpZcsrlsvqrHost`| | | | | | | | | | | \*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental \ No newline at end of file diff --git a/docs/tables/CUSOLVER_API_supported_by_HIP_and_ROC.md b/docs/tables/CUSOLVER_API_supported_by_HIP_and_ROC.md index 84ac2864..71598394 100644 --- a/docs/tables/CUSOLVER_API_supported_by_HIP_and_ROC.md +++ b/docs/tables/CUSOLVER_API_supported_by_HIP_and_ROC.md @@ -96,6 +96,8 @@ |`CUSOLVER_STATUS_NOT_SUPPORTED`| | | | |`HIPSOLVER_STATUS_NOT_SUPPORTED`|4.5.0| | | |6.1.0|`rocblas_status_not_implemented`|1.5.0| | | |6.1.0| |`CUSOLVER_STATUS_SUCCESS`| | | | |`HIPSOLVER_STATUS_SUCCESS`|4.5.0| | | |6.1.0|`rocblas_status_success`|3.0.0| | | |6.1.0| |`CUSOLVER_STATUS_ZERO_PIVOT`| | | | |`HIPSOLVER_STATUS_ZERO_PIVOT`|5.6.0| | | |6.1.0|`rocblas_status_not_implemented`|1.5.0| | | |6.1.0| +|`csrqrInfo`| | | | | | | | | | | | | | | | | +|`csrqrInfo_t`| | | | | | | | | | | | | | | | | |`cudaLibMgGrid_t`|10.1| | | | | | | | | | | | | | | | |`cudaLibMgMatrixDesc_t`|10.1| | | | | | | | | | | | | | | | |`cusolverAlgMode_t`|11.0| | | | | | | | | | | | | | | | @@ -128,6 +130,8 @@ |`cusolverRfResetValuesFastMode_t`| | | | |`hipsolverRfResetValuesFastMode_t`|5.6.0| | | |6.1.0| | | | | | | |`cusolverRfTriangularSolve_t`| | | | |`hipsolverRfTriangularSolve_t`|5.6.0| | | |6.1.0| | | | | | | |`cusolverRfUnitDiagonal_t`| | | | |`hipsolverRfUnitDiagonal_t`|5.6.0| | | |6.1.0| | | | | | | +|`cusolverSpContext`| | | | | | | | | | | | | | | | | +|`cusolverSpHandle_t`| | | | | | | | | | | | | | | | | |`cusolverStatus_t`| | | | |`hipsolverStatus_t`|4.5.0| | | |6.1.0|`rocblas_status`|3.0.0| | | |6.1.0| |`cusolverStorevMode_t`|11.0| | | | | | | | | | | | | | | | |`cusolver_int_t`|10.1| | | |`int`| | | | | |`rocblas_int`|3.0.0| | | |6.1.0| @@ -565,6 +569,35 @@ |`cusolverRfSetupDevice`| | | | |`hipsolverRfSetupDevice`|5.6.0| | | |6.1.0| | | | | | | |`cusolverRfSetupHost`| | | | |`hipsolverRfSetupHost`|5.6.0| | | |6.1.0| | | | | | | |`cusolverRfSolve`| | | | |`hipsolverRfSolve`|5.6.0| | | |6.1.0| | | | | | | +|`cusolverSpCcsrlsqvqrHost`| | | | | | | | | | | | | | | | | +|`cusolverSpCcsrlsvchol`| | | | | | | | | | | | | | | | | +|`cusolverSpCcsrlsvcholHost`| | | | | | | | | | | | | | | | | +|`cusolverSpCcsrlsvluHost`| | | | | | | | | | | | | | | | | +|`cusolverSpCcsrlsvqr`| | | | | | | | | | | | | | | | | +|`cusolverSpCcsrlsvqrHost`| | | | | | | | | | | | | | | | | +|`cusolverSpCreate`| | | | | | | | | | | | | | | | | +|`cusolverSpDcsrlsqvqrHost`| | | | | | | | | | | | | | | | | +|`cusolverSpDcsrlsvchol`| | | | | | | | | | | | | | | | | +|`cusolverSpDcsrlsvcholHost`| | | | | | | | | | | | | | | | | +|`cusolverSpDcsrlsvluHost`| | | | | | | | | | | | | | | | | +|`cusolverSpDcsrlsvqr`| | | | | | | | | | | | | | | | | +|`cusolverSpDcsrlsvqrHost`| | | | | | | | | | | | | | | | | +|`cusolverSpDestroy`| | | | | | | | | | | | | | | | | +|`cusolverSpGetStream`| | | | | | | | | | | | | | | | | +|`cusolverSpScsrlsqvqrHost`| | | | | | | | | | | | | | | | | +|`cusolverSpScsrlsvchol`| | | | | | | | | | | | | | | | | +|`cusolverSpScsrlsvcholHost`| | | | | | | | | | | | | | | | | +|`cusolverSpScsrlsvluHost`| | | | | | | | | | | | | | | | | +|`cusolverSpScsrlsvqr`| | | | | | | | | | | | | | | | | +|`cusolverSpScsrlsvqrHost`| | | | | | | | | | | | | | | | | +|`cusolverSpSetStream`| | | | | | | | | | | | | | | | | +|`cusolverSpXcsrissymHost`| | | | | | | | | | | | | | | | | +|`cusolverSpZcsrlsqvqrHost`| | | | | | | | | | | | | | | | | +|`cusolverSpZcsrlsvchol`| | | | | | | | | | | | | | | | | +|`cusolverSpZcsrlsvcholHost`| | | | | | | | | | | | | | | | | +|`cusolverSpZcsrlsvluHost`| | | | | | | | | | | | | | | | | +|`cusolverSpZcsrlsvqr`| | | | | | | | | | | | | | | | | +|`cusolverSpZcsrlsvqrHost`| | | | | | | | | | | | | | | | | \*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental \ No newline at end of file diff --git a/docs/tables/CUSOLVER_API_supported_by_ROC.md b/docs/tables/CUSOLVER_API_supported_by_ROC.md index f2286944..5d538917 100644 --- a/docs/tables/CUSOLVER_API_supported_by_ROC.md +++ b/docs/tables/CUSOLVER_API_supported_by_ROC.md @@ -96,6 +96,8 @@ |`CUSOLVER_STATUS_NOT_SUPPORTED`| | | | |`rocblas_status_not_implemented`|1.5.0| | | |6.1.0| |`CUSOLVER_STATUS_SUCCESS`| | | | |`rocblas_status_success`|3.0.0| | | |6.1.0| |`CUSOLVER_STATUS_ZERO_PIVOT`| | | | |`rocblas_status_not_implemented`|1.5.0| | | |6.1.0| +|`csrqrInfo`| | | | | | | | | | | +|`csrqrInfo_t`| | | | | | | | | | | |`cudaLibMgGrid_t`|10.1| | | | | | | | | | |`cudaLibMgMatrixDesc_t`|10.1| | | | | | | | | | |`cusolverAlgMode_t`|11.0| | | | | | | | | | @@ -128,6 +130,8 @@ |`cusolverRfResetValuesFastMode_t`| | | | | | | | | | | |`cusolverRfTriangularSolve_t`| | | | | | | | | | | |`cusolverRfUnitDiagonal_t`| | | | | | | | | | | +|`cusolverSpContext`| | | | | | | | | | | +|`cusolverSpHandle_t`| | | | | | | | | | | |`cusolverStatus_t`| | | | |`rocblas_status`|3.0.0| | | |6.1.0| |`cusolverStorevMode_t`|11.0| | | | | | | | | | |`cusolver_int_t`|10.1| | | |`rocblas_int`|3.0.0| | | |6.1.0| @@ -565,6 +569,35 @@ |`cusolverRfSetupDevice`| | | | | | | | | | | |`cusolverRfSetupHost`| | | | | | | | | | | |`cusolverRfSolve`| | | | | | | | | | | +|`cusolverSpCcsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpCcsrlsvchol`| | | | | | | | | | | +|`cusolverSpCcsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpCcsrlsvluHost`| | | | | | | | | | | +|`cusolverSpCcsrlsvqr`| | | | | | | | | | | +|`cusolverSpCcsrlsvqrHost`| | | | | | | | | | | +|`cusolverSpCreate`| | | | | | | | | | | +|`cusolverSpDcsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpDcsrlsvchol`| | | | | | | | | | | +|`cusolverSpDcsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpDcsrlsvluHost`| | | | | | | | | | | +|`cusolverSpDcsrlsvqr`| | | | | | | | | | | +|`cusolverSpDcsrlsvqrHost`| | | | | | | | | | | +|`cusolverSpDestroy`| | | | | | | | | | | +|`cusolverSpGetStream`| | | | | | | | | | | +|`cusolverSpScsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpScsrlsvchol`| | | | | | | | | | | +|`cusolverSpScsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpScsrlsvluHost`| | | | | | | | | | | +|`cusolverSpScsrlsvqr`| | | | | | | | | | | +|`cusolverSpScsrlsvqrHost`| | | | | | | | | | | +|`cusolverSpSetStream`| | | | | | | | | | | +|`cusolverSpXcsrissymHost`| | | | | | | | | | | +|`cusolverSpZcsrlsqvqrHost`| | | | | | | | | | | +|`cusolverSpZcsrlsvchol`| | | | | | | | | | | +|`cusolverSpZcsrlsvcholHost`| | | | | | | | | | | +|`cusolverSpZcsrlsvluHost`| | | | | | | | | | | +|`cusolverSpZcsrlsvqr`| | | | | | | | | | | +|`cusolverSpZcsrlsvqrHost`| | | | | | | | | | | \*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental \ No newline at end of file diff --git a/src/CUDA2HIP_SOLVER_API_functions.cpp b/src/CUDA2HIP_SOLVER_API_functions.cpp index 864a18c1..60753060 100644 --- a/src/CUDA2HIP_SOLVER_API_functions.cpp +++ b/src/CUDA2HIP_SOLVER_API_functions.cpp @@ -535,6 +535,36 @@ const std::map CUDA_SOLVER_FUNCTION_MAP { {"cusolverRfBatchSolve", {"hipsolverRfBatchSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, ROC_UNSUPPORTED | HIP_EXPERIMENTAL}}, // no ROC analogues {"cusolverRfBatchZeroPivot", {"hipsolverRfBatchZeroPivot", "", CONV_LIB_FUNC, API_SOLVER, 2, ROC_UNSUPPORTED | HIP_EXPERIMENTAL}}, + + {"cusolverSpCreate", {"hipsolverSpCreate", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDestroy", {"hipsolverSpDestroy", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpSetStream", {"hipsolverSpSetStream", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpGetStream", {"hipsolverSpGetStream", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpXcsrissymHost", {"hipsolverSpXcsrissymHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrlsvluHost", {"hipsolverSpScsrlsvluHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrlsvluHost", {"hipsolverSpDcsrlsvluHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrlsvluHost", {"hipsolverSpCcsrlsvluHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrlsvluHost", {"hipsolverSpZcsrlsvluHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrlsvqr", {"hipsolverSpScsrlsvqr", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrlsvqr", {"hipsolverSpDcsrlsvqr", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrlsvqr", {"hipsolverSpCcsrlsvqr", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrlsvqr", {"hipsolverSpZcsrlsvqr", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrlsvqrHost", {"hipsolverSpScsrlsvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrlsvqrHost", {"hipsolverSpDcsrlsvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrlsvqrHost", {"hipsolverSpCcsrlsvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrlsvqrHost", {"hipsolverSpZcsrlsvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrlsvcholHost", {"hipsolverSpScsrlsvcholHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrlsvcholHost", {"hipsolverSpDcsrlsvcholHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrlsvcholHost", {"hipsolverSpCcsrlsvcholHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrlsvcholHost", {"hipsolverSpZcsrlsvcholHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrlsvchol", {"hipsolverSpScsrlsvchol", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrlsvchol", {"hipsolverSpDcsrlsvchol", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrlsvchol", {"hipsolverSpCcsrlsvchol", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrlsvchol", {"hipsolverSpZcsrlsvchol", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrlsqvqrHost", {"hipsolverSpScsrlsqvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrlsqvqrHost", {"hipsolverSpDcsrlsqvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrlsqvqrHost", {"hipsolverSpCcsrlsqvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrlsqvqrHost", {"hipsolverSpZcsrlsqvqrHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, }; const std::map CUDA_SOLVER_FUNCTION_VER_MAP { diff --git a/src/CUDA2HIP_SOLVER_API_types.cpp b/src/CUDA2HIP_SOLVER_API_types.cpp index fb3046dc..581ccb75 100644 --- a/src/CUDA2HIP_SOLVER_API_types.cpp +++ b/src/CUDA2HIP_SOLVER_API_types.cpp @@ -155,6 +155,10 @@ const std::map CUDA_SOLVER_TYPE_NAME_MAP { {"CUSOLVERRF_NUMERIC_BOOST_USED", {"HIPSOLVERRF_NUMERIC_BOOST_USED", "", CONV_NUMERIC_LITERAL, API_SOLVER, 1, ROC_UNSUPPORTED}}, {"cusolverRfCommon", {"hipsolverRfCommon", "", CONV_TYPE, API_SOLVER, 1, UNSUPPORTED}}, {"cusolverRfHandle_t", {"hipsolverRfHandle_t", "", CONV_TYPE, API_SOLVER, 1, ROC_UNSUPPORTED}}, + {"cusolverSpContext", {"hipsolverSpContext", "", CONV_TYPE, API_SOLVER, 1, UNSUPPORTED}}, + {"cusolverSpHandle_t", {"hipsolverSpHandle_t", "", CONV_TYPE, API_SOLVER, 1, UNSUPPORTED}}, + {"csrqrInfo", {"hipsolvercsrqrInfo", "", CONV_TYPE, API_SOLVER, 1, UNSUPPORTED}}, + {"csrqrInfo_t", {"hipsolvercsrqrInfo_t", "", CONV_TYPE, API_SOLVER, 1, UNSUPPORTED}}, }; const std::map CUDA_SOLVER_TYPE_NAME_VER_MAP {