From 9207424bd4393374addf864242a1719f4e1924a3 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Mon, 25 Dec 2023 19:27:15 +0000 Subject: [PATCH] [HIPIFY][#675][#677][SOLVER][feature] `cuSOLVER` support - Step 58 - Functions (SP - Lowlevel Preview) + All `SP` APIs are not supported by both `hipSOLVER` and `rocSOLVER` + Updated the regenerated `hipify-perl`, and `SOLVER` `CUDA2HIP` documentation --- bin/hipify-perl | 42 ++++++++++ docs/tables/CUSOLVER_API_supported_by_HIP.md | 42 ++++++++++ .../CUSOLVER_API_supported_by_HIP_and_ROC.md | 42 ++++++++++ docs/tables/CUSOLVER_API_supported_by_ROC.md | 42 ++++++++++ src/CUDA2HIP_SOLVER_API_functions.cpp | 84 +++++++++++++++++++ 5 files changed, 252 insertions(+) diff --git a/bin/hipify-perl b/bin/hipify-perl index b0755a5e..b64e6075 100755 --- a/bin/hipify-perl +++ b/bin/hipify-perl @@ -7686,6 +7686,15 @@ sub warnUnsupportedFunctions { "cusolverSpZcsreigvsiHost", "cusolverSpZcsreigvsi", "cusolverSpZcsreigsHost", + "cusolverSpZcsrcholZeroPivotHost", + "cusolverSpZcsrcholZeroPivot", + "cusolverSpZcsrcholSolveHost", + "cusolverSpZcsrcholSolve", + "cusolverSpZcsrcholFactorHost", + "cusolverSpZcsrcholFactor", + "cusolverSpZcsrcholDiag", + "cusolverSpZcsrcholBufferInfoHost", + "cusolverSpZcsrcholBufferInfo", "cusolverSpXcsrsymrcmHost", "cusolverSpXcsrsymmdqHost", "cusolverSpXcsrsymamdHost", @@ -7698,6 +7707,8 @@ sub warnUnsupportedFunctions { "cusolverSpXcsrluNnzHost", "cusolverSpXcsrluAnalysisHost", "cusolverSpXcsrissymHost", + "cusolverSpXcsrcholAnalysisHost", + "cusolverSpXcsrcholAnalysis", "cusolverSpSetStream", "cusolverSpScsrzfdHost", "cusolverSpScsrqrsvBatched", @@ -7726,11 +7737,22 @@ sub warnUnsupportedFunctions { "cusolverSpScsreigvsiHost", "cusolverSpScsreigvsi", "cusolverSpScsreigsHost", + "cusolverSpScsrcholZeroPivotHost", + "cusolverSpScsrcholZeroPivot", + "cusolverSpScsrcholSolveHost", + "cusolverSpScsrcholSolve", + "cusolverSpScsrcholFactorHost", + "cusolverSpScsrcholFactor", + "cusolverSpScsrcholDiag", + "cusolverSpScsrcholBufferInfoHost", + "cusolverSpScsrcholBufferInfo", "cusolverSpHandle_t", "cusolverSpGetStream", "cusolverSpDestroyCsrqrInfoHost", "cusolverSpDestroyCsrqrInfo", "cusolverSpDestroyCsrluInfoHost", + "cusolverSpDestroyCsrcholInfoHost", + "cusolverSpDestroyCsrcholInfo", "cusolverSpDestroy", "cusolverSpDcsrzfdHost", "cusolverSpDcsrqrsvBatched", @@ -7759,9 +7781,20 @@ sub warnUnsupportedFunctions { "cusolverSpDcsreigvsiHost", "cusolverSpDcsreigvsi", "cusolverSpDcsreigsHost", + "cusolverSpDcsrcholZeroPivotHost", + "cusolverSpDcsrcholZeroPivot", + "cusolverSpDcsrcholSolveHost", + "cusolverSpDcsrcholSolve", + "cusolverSpDcsrcholFactorHost", + "cusolverSpDcsrcholFactor", + "cusolverSpDcsrcholDiag", + "cusolverSpDcsrcholBufferInfoHost", + "cusolverSpDcsrcholBufferInfo", "cusolverSpCreateCsrqrInfoHost", "cusolverSpCreateCsrqrInfo", "cusolverSpCreateCsrluInfoHost", + "cusolverSpCreateCsrcholInfoHost", + "cusolverSpCreateCsrcholInfo", "cusolverSpCreate", "cusolverSpContext", "cusolverSpCcsrzfdHost", @@ -7791,6 +7824,15 @@ sub warnUnsupportedFunctions { "cusolverSpCcsreigvsiHost", "cusolverSpCcsreigvsi", "cusolverSpCcsreigsHost", + "cusolverSpCcsrcholZeroPivotHost", + "cusolverSpCcsrcholZeroPivot", + "cusolverSpCcsrcholSolveHost", + "cusolverSpCcsrcholSolve", + "cusolverSpCcsrcholFactorHost", + "cusolverSpCcsrcholFactor", + "cusolverSpCcsrcholDiag", + "cusolverSpCcsrcholBufferInfoHost", + "cusolverSpCcsrcholBufferInfo", "cusolverRfGetAlgs", "cusolverRfCommon", "cusolverPrecType_t", diff --git a/docs/tables/CUSOLVER_API_supported_by_HIP.md b/docs/tables/CUSOLVER_API_supported_by_HIP.md index d9aff46f..775c853a 100644 --- a/docs/tables/CUSOLVER_API_supported_by_HIP.md +++ b/docs/tables/CUSOLVER_API_supported_by_HIP.md @@ -577,6 +577,15 @@ |`cusolverRfSetupDevice`| | | | |`hipsolverRfSetupDevice`|5.6.0| | | |6.1.0| |`cusolverRfSetupHost`| | | | |`hipsolverRfSetupHost`|5.6.0| | | |6.1.0| |`cusolverRfSolve`| | | | |`hipsolverRfSolve`|5.6.0| | | |6.1.0| +|`cusolverSpCcsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpCcsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpCcsreigsHost`| | | | | | | | | | | |`cusolverSpCcsreigvsi`| | | | | | | | | | | |`cusolverSpCcsreigvsiHost`| | | | | | | | | | | @@ -605,9 +614,20 @@ |`cusolverSpCcsrqrsvBatched`| | | | | | | | | | | |`cusolverSpCcsrzfdHost`|9.2| | | | | | | | | | |`cusolverSpCreate`| | | | | | | | | | | +|`cusolverSpCreateCsrcholInfo`|7.5| | | | | | | | | | +|`cusolverSpCreateCsrcholInfoHost`|7.5| | | | | | | | | | |`cusolverSpCreateCsrluInfoHost`|7.5| | | | | | | | | | |`cusolverSpCreateCsrqrInfo`| | | | | | | | | | | |`cusolverSpCreateCsrqrInfoHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpDcsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpDcsreigsHost`| | | | | | | | | | | |`cusolverSpDcsreigvsi`| | | | | | | | | | | |`cusolverSpDcsreigvsiHost`| | | | | | | | | | | @@ -636,10 +656,21 @@ |`cusolverSpDcsrqrsvBatched`| | | | | | | | | | | |`cusolverSpDcsrzfdHost`|9.2| | | | | | | | | | |`cusolverSpDestroy`| | | | | | | | | | | +|`cusolverSpDestroyCsrcholInfo`|7.5| | | | | | | | | | +|`cusolverSpDestroyCsrcholInfoHost`|7.5| | | | | | | | | | |`cusolverSpDestroyCsrluInfoHost`|7.5| | | | | | | | | | |`cusolverSpDestroyCsrqrInfo`| | | | | | | | | | | |`cusolverSpDestroyCsrqrInfoHost`|7.5| | | | | | | | | | |`cusolverSpGetStream`| | | | | | | | | | | +|`cusolverSpScsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpScsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpScsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpScsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpScsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpScsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpScsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpScsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpScsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpScsreigsHost`| | | | | | | | | | | |`cusolverSpScsreigvsi`| | | | | | | | | | | |`cusolverSpScsreigvsiHost`| | | | | | | | | | | @@ -668,6 +699,8 @@ |`cusolverSpScsrqrsvBatched`| | | | | | | | | | | |`cusolverSpScsrzfdHost`|9.2| | | | | | | | | | |`cusolverSpSetStream`| | | | | | | | | | | +|`cusolverSpXcsrcholAnalysis`|7.5| | | | | | | | | | +|`cusolverSpXcsrcholAnalysisHost`|7.5| | | | | | | | | | |`cusolverSpXcsrissymHost`| | | | | | | | | | | |`cusolverSpXcsrluAnalysisHost`|7.5| | | | | | | | | | |`cusolverSpXcsrluNnzHost`|7.5| | | | | | | | | | @@ -680,6 +713,15 @@ |`cusolverSpXcsrsymamdHost`|7.5| | | | | | | | | | |`cusolverSpXcsrsymmdqHost`|7.5| | | | | | | | | | |`cusolverSpXcsrsymrcmHost`| | | | | | | | | | | +|`cusolverSpZcsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpZcsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpZcsreigsHost`| | | | | | | | | | | |`cusolverSpZcsreigvsi`| | | | | | | | | | | |`cusolverSpZcsreigvsiHost`| | | | | | | | | | | 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 2dac990e..1a112fe9 100644 --- a/docs/tables/CUSOLVER_API_supported_by_HIP_and_ROC.md +++ b/docs/tables/CUSOLVER_API_supported_by_HIP_and_ROC.md @@ -577,6 +577,15 @@ |`cusolverRfSetupDevice`| | | | |`hipsolverRfSetupDevice`|5.6.0| | | |6.1.0| | | | | | | |`cusolverRfSetupHost`| | | | |`hipsolverRfSetupHost`|5.6.0| | | |6.1.0| | | | | | | |`cusolverRfSolve`| | | | |`hipsolverRfSolve`|5.6.0| | | |6.1.0| | | | | | | +|`cusolverSpCcsrcholBufferInfo`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholBufferInfoHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholDiag`|10.1| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholFactor`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholFactorHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholSolve`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholSolveHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholZeroPivot`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCcsrcholZeroPivotHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpCcsreigsHost`| | | | | | | | | | | | | | | | | |`cusolverSpCcsreigvsi`| | | | | | | | | | | | | | | | | |`cusolverSpCcsreigvsiHost`| | | | | | | | | | | | | | | | | @@ -605,9 +614,20 @@ |`cusolverSpCcsrqrsvBatched`| | | | | | | | | | | | | | | | | |`cusolverSpCcsrzfdHost`|9.2| | | | | | | | | | | | | | | | |`cusolverSpCreate`| | | | | | | | | | | | | | | | | +|`cusolverSpCreateCsrcholInfo`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpCreateCsrcholInfoHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpCreateCsrluInfoHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpCreateCsrqrInfo`| | | | | | | | | | | | | | | | | |`cusolverSpCreateCsrqrInfoHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholBufferInfo`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholBufferInfoHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholDiag`|10.1| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholFactor`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholFactorHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholSolve`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholSolveHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholZeroPivot`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDcsrcholZeroPivotHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpDcsreigsHost`| | | | | | | | | | | | | | | | | |`cusolverSpDcsreigvsi`| | | | | | | | | | | | | | | | | |`cusolverSpDcsreigvsiHost`| | | | | | | | | | | | | | | | | @@ -636,10 +656,21 @@ |`cusolverSpDcsrqrsvBatched`| | | | | | | | | | | | | | | | | |`cusolverSpDcsrzfdHost`|9.2| | | | | | | | | | | | | | | | |`cusolverSpDestroy`| | | | | | | | | | | | | | | | | +|`cusolverSpDestroyCsrcholInfo`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpDestroyCsrcholInfoHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpDestroyCsrluInfoHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpDestroyCsrqrInfo`| | | | | | | | | | | | | | | | | |`cusolverSpDestroyCsrqrInfoHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpGetStream`| | | | | | | | | | | | | | | | | +|`cusolverSpScsrcholBufferInfo`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholBufferInfoHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholDiag`|10.1| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholFactor`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholFactorHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholSolve`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholSolveHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholZeroPivot`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpScsrcholZeroPivotHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpScsreigsHost`| | | | | | | | | | | | | | | | | |`cusolverSpScsreigvsi`| | | | | | | | | | | | | | | | | |`cusolverSpScsreigvsiHost`| | | | | | | | | | | | | | | | | @@ -668,6 +699,8 @@ |`cusolverSpScsrqrsvBatched`| | | | | | | | | | | | | | | | | |`cusolverSpScsrzfdHost`|9.2| | | | | | | | | | | | | | | | |`cusolverSpSetStream`| | | | | | | | | | | | | | | | | +|`cusolverSpXcsrcholAnalysis`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpXcsrcholAnalysisHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpXcsrissymHost`| | | | | | | | | | | | | | | | | |`cusolverSpXcsrluAnalysisHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpXcsrluNnzHost`|7.5| | | | | | | | | | | | | | | | @@ -680,6 +713,15 @@ |`cusolverSpXcsrsymamdHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpXcsrsymmdqHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpXcsrsymrcmHost`| | | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholBufferInfo`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholBufferInfoHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholDiag`|10.1| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholFactor`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholFactorHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholSolve`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholSolveHost`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholZeroPivot`|7.5| | | | | | | | | | | | | | | | +|`cusolverSpZcsrcholZeroPivotHost`|7.5| | | | | | | | | | | | | | | | |`cusolverSpZcsreigsHost`| | | | | | | | | | | | | | | | | |`cusolverSpZcsreigvsi`| | | | | | | | | | | | | | | | | |`cusolverSpZcsreigvsiHost`| | | | | | | | | | | | | | | | | diff --git a/docs/tables/CUSOLVER_API_supported_by_ROC.md b/docs/tables/CUSOLVER_API_supported_by_ROC.md index 8a42dd09..737a9161 100644 --- a/docs/tables/CUSOLVER_API_supported_by_ROC.md +++ b/docs/tables/CUSOLVER_API_supported_by_ROC.md @@ -577,6 +577,15 @@ |`cusolverRfSetupDevice`| | | | | | | | | | | |`cusolverRfSetupHost`| | | | | | | | | | | |`cusolverRfSolve`| | | | | | | | | | | +|`cusolverSpCcsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpCcsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpCcsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpCcsreigsHost`| | | | | | | | | | | |`cusolverSpCcsreigvsi`| | | | | | | | | | | |`cusolverSpCcsreigvsiHost`| | | | | | | | | | | @@ -605,9 +614,20 @@ |`cusolverSpCcsrqrsvBatched`| | | | | | | | | | | |`cusolverSpCcsrzfdHost`|9.2| | | | | | | | | | |`cusolverSpCreate`| | | | | | | | | | | +|`cusolverSpCreateCsrcholInfo`|7.5| | | | | | | | | | +|`cusolverSpCreateCsrcholInfoHost`|7.5| | | | | | | | | | |`cusolverSpCreateCsrluInfoHost`|7.5| | | | | | | | | | |`cusolverSpCreateCsrqrInfo`| | | | | | | | | | | |`cusolverSpCreateCsrqrInfoHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpDcsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpDcsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpDcsreigsHost`| | | | | | | | | | | |`cusolverSpDcsreigvsi`| | | | | | | | | | | |`cusolverSpDcsreigvsiHost`| | | | | | | | | | | @@ -636,10 +656,21 @@ |`cusolverSpDcsrqrsvBatched`| | | | | | | | | | | |`cusolverSpDcsrzfdHost`|9.2| | | | | | | | | | |`cusolverSpDestroy`| | | | | | | | | | | +|`cusolverSpDestroyCsrcholInfo`|7.5| | | | | | | | | | +|`cusolverSpDestroyCsrcholInfoHost`|7.5| | | | | | | | | | |`cusolverSpDestroyCsrluInfoHost`|7.5| | | | | | | | | | |`cusolverSpDestroyCsrqrInfo`| | | | | | | | | | | |`cusolverSpDestroyCsrqrInfoHost`|7.5| | | | | | | | | | |`cusolverSpGetStream`| | | | | | | | | | | +|`cusolverSpScsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpScsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpScsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpScsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpScsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpScsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpScsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpScsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpScsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpScsreigsHost`| | | | | | | | | | | |`cusolverSpScsreigvsi`| | | | | | | | | | | |`cusolverSpScsreigvsiHost`| | | | | | | | | | | @@ -668,6 +699,8 @@ |`cusolverSpScsrqrsvBatched`| | | | | | | | | | | |`cusolverSpScsrzfdHost`|9.2| | | | | | | | | | |`cusolverSpSetStream`| | | | | | | | | | | +|`cusolverSpXcsrcholAnalysis`|7.5| | | | | | | | | | +|`cusolverSpXcsrcholAnalysisHost`|7.5| | | | | | | | | | |`cusolverSpXcsrissymHost`| | | | | | | | | | | |`cusolverSpXcsrluAnalysisHost`|7.5| | | | | | | | | | |`cusolverSpXcsrluNnzHost`|7.5| | | | | | | | | | @@ -680,6 +713,15 @@ |`cusolverSpXcsrsymamdHost`|7.5| | | | | | | | | | |`cusolverSpXcsrsymmdqHost`|7.5| | | | | | | | | | |`cusolverSpXcsrsymrcmHost`| | | | | | | | | | | +|`cusolverSpZcsrcholBufferInfo`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholBufferInfoHost`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholDiag`|10.1| | | | | | | | | | +|`cusolverSpZcsrcholFactor`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholFactorHost`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholSolve`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholSolveHost`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholZeroPivot`|7.5| | | | | | | | | | +|`cusolverSpZcsrcholZeroPivotHost`|7.5| | | | | | | | | | |`cusolverSpZcsreigsHost`| | | | | | | | | | | |`cusolverSpZcsreigvsi`| | | | | | | | | | | |`cusolverSpZcsreigvsiHost`| | | | | | | | | | | diff --git a/src/CUDA2HIP_SOLVER_API_functions.cpp b/src/CUDA2HIP_SOLVER_API_functions.cpp index 976b1392..fe33b998 100644 --- a/src/CUDA2HIP_SOLVER_API_functions.cpp +++ b/src/CUDA2HIP_SOLVER_API_functions.cpp @@ -666,6 +666,48 @@ const std::map CUDA_SOLVER_FUNCTION_MAP { {"cusolverSpDcsrqrSolve", {"hipsolverSpDcsrqrSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, {"cusolverSpCcsrqrSolve", {"hipsolverSpCcsrqrSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, {"cusolverSpZcsrqrSolve", {"hipsolverSpZcsrqrSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCreateCsrcholInfoHost", {"hipsolverSpCreateCsrcholInfoHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDestroyCsrcholInfoHost", {"hipsolverSpDestroyCsrcholInfoHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpXcsrcholAnalysisHost", {"hipsolverSpXcsrcholAnalysisHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholBufferInfoHost", {"hipsolverSpScsrcholBufferInfoHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholBufferInfoHost", {"hipsolverSpDcsrcholBufferInfoHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholBufferInfoHost", {"hipsolverSpCcsrcholBufferInfoHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholBufferInfoHost", {"hipsolverSpZcsrcholBufferInfoHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholFactorHost", {"hipsolverSpScsrcholFactorHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholFactorHost", {"hipsolverSpDcsrcholFactorHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholFactorHost", {"hipsolverSpCcsrcholFactorHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholFactorHost", {"hipsolverSpZcsrcholFactorHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholZeroPivotHost", {"hipsolverSpScsrcholZeroPivotHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholZeroPivotHost", {"hipsolverSpDcsrcholZeroPivotHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholZeroPivotHost", {"hipsolverSpCcsrcholZeroPivotHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholZeroPivotHost", {"hipsolverSpZcsrcholZeroPivotHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholSolveHost", {"hipsolverSpScsrcholSolveHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholSolveHost", {"hipsolverSpDcsrcholSolveHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholSolveHost", {"hipsolverSpCcsrcholSolveHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholSolveHost", {"hipsolverSpZcsrcholSolveHost", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCreateCsrcholInfo", {"hipsolverSpCreateCsrcholInfo", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDestroyCsrcholInfo", {"hipsolverSpDestroyCsrcholInfo", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpXcsrcholAnalysis", {"hipsolverSpXcsrcholAnalysis", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholBufferInfo", {"hipsolverSpScsrcholBufferInfo", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholBufferInfo", {"hipsolverSpDcsrcholBufferInfo", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholBufferInfo", {"hipsolverSpCcsrcholBufferInfo", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholBufferInfo", {"hipsolverSpZcsrcholBufferInfo", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholFactor", {"hipsolverSpScsrcholFactor", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholFactor", {"hipsolverSpDcsrcholFactor", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholFactor", {"hipsolverSpCcsrcholFactor", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholFactor", {"hipsolverSpZcsrcholFactor", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholZeroPivot", {"hipsolverSpScsrcholZeroPivot", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholZeroPivot", {"hipsolverSpDcsrcholZeroPivot", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholZeroPivot", {"hipsolverSpCcsrcholZeroPivot", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholZeroPivot", {"hipsolverSpZcsrcholZeroPivot", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholSolve", {"hipsolverSpScsrcholSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholSolve", {"hipsolverSpDcsrcholSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholSolve", {"hipsolverSpCcsrcholSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholSolve", {"hipsolverSpZcsrcholSolve", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpScsrcholDiag", {"hipsolverSpScsrcholDiag", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpDcsrcholDiag", {"hipsolverSpDcsrcholDiag", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpCcsrcholDiag", {"hipsolverSpCcsrcholDiag", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, + {"cusolverSpZcsrcholDiag", {"hipsolverSpZcsrcholDiag", "", CONV_LIB_FUNC, API_SOLVER, 2, UNSUPPORTED}}, }; const std::map CUDA_SOLVER_FUNCTION_VER_MAP { @@ -1073,6 +1115,48 @@ const std::map CUDA_SOLVER_FUNCTION_VER_MAP { {"cusolverSpDcsrqrSolve", {CUDA_75, CUDA_0, CUDA_0}}, {"cusolverSpCcsrqrSolve", {CUDA_75, CUDA_0, CUDA_0}}, {"cusolverSpZcsrqrSolve", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCreateCsrcholInfoHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDestroyCsrcholInfoHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpXcsrcholAnalysisHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholBufferInfoHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholBufferInfoHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholBufferInfoHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholBufferInfoHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholFactorHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholFactorHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholFactorHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholFactorHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholZeroPivotHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholZeroPivotHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholZeroPivotHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholZeroPivotHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholSolveHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholSolveHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholSolveHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholSolveHost", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCreateCsrcholInfo", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDestroyCsrcholInfo", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpXcsrcholAnalysis", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholBufferInfo", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholBufferInfo", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholBufferInfo", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholBufferInfo", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholFactor", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholFactor", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholFactor", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholFactor", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholZeroPivot", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholZeroPivot", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholZeroPivot", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholZeroPivot", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholSolve", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpDcsrcholSolve", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpCcsrcholSolve", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpZcsrcholSolve", {CUDA_75, CUDA_0, CUDA_0}}, + {"cusolverSpScsrcholDiag", {CUDA_101, CUDA_0, CUDA_0}}, // CUSOLVER_VERSION 10200 + {"cusolverSpDcsrcholDiag", {CUDA_101, CUDA_0, CUDA_0}}, // CUSOLVER_VERSION 10200 + {"cusolverSpCcsrcholDiag", {CUDA_101, CUDA_0, CUDA_0}}, // CUSOLVER_VERSION 10200 + {"cusolverSpZcsrcholDiag", {CUDA_101, CUDA_0, CUDA_0}}, // CUSOLVER_VERSION 10200 }; const std::map HIP_SOLVER_FUNCTION_VER_MAP {