forked from ROCm/HIPIFY
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
… Step 6 - Documentation + Three Solver-related `CUDA2HIP` documents are generated now: `CUSOLVER_API_supported_by_HIP.md` `CUSOLVER_API_supported_by_ROC.md` `CUSOLVER_API_supported_by_HIP_and_ROC.md` + All HIP and ROC APIs are `Experimental` for now despite their versions [ToDo] + Populate `README.md` (`supported_apis.md`) with links to `SOLVER CUDA2HIP` documentation + Remove `Experimental` mark after finishing with `SOLVER` support in HIPIFY tools
- Loading branch information
Showing
8 changed files
with
266 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# CUSOLVER API supported by HIP | ||
|
||
## **1. CUSOLVER Data types** | ||
|
||
|**CUDA**|**A**|**D**|**C**|**R**|**HIP**|**A**|**D**|**C**|**R**|**E**| | ||
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| | ||
|`CUSOLVER_EIG_TYPE_1`|8.0| | | |`HIPSOLVER_EIG_TYPE_1`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_EIG_TYPE_2`|8.0| | | |`HIPSOLVER_EIG_TYPE_2`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_EIG_TYPE_3`|8.0| | | |`HIPSOLVER_EIG_TYPE_3`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ALLOC_FAILED`| | | | |`HIPSOLVER_STATUS_ALLOC_FAILED`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ARCH_MISMATCH`| | | | |`HIPSOLVER_STATUS_ARCH_MISMATCH`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_EXECUTION_FAILED`| | | | |`HIPSOLVER_STATUS_EXECUTION_FAILED`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INTERNAL_ERROR`| | | | |`HIPSOLVER_STATUS_INTERNAL_ERROR`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INVALID_LICENSE`| | | | | | | | | | | | ||
|`CUSOLVER_STATUS_INVALID_VALUE`| | | | |`HIPSOLVER_STATUS_INVALID_VALUE`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INVALID_WORKSPACE`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INFOS_NOT_DESTROYED`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INFOS_NOT_INITIALIZED`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INTERNAL_ERROR`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_MATRIX_SINGULAR`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_NOT_SUPPORTED`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_NRHS_NOT_SUPPORTED_FOR_REFINE_GMRES`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_OUT_OF_RANGE`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_MAXITER`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_PREC`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_REFINE`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_NOT_INITIALIZED`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_MAPPING_ERROR`| | | | |`HIPSOLVER_STATUS_MAPPING_ERROR`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_MATRIX_TYPE_NOT_SUPPORTED`| | | | | | | | | | | | ||
|`CUSOLVER_STATUS_NOT_INITIALIZED`| | | | |`HIPSOLVER_STATUS_NOT_INITIALIZED`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_NOT_SUPPORTED`| | | | |`HIPSOLVER_STATUS_NOT_SUPPORTED`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_SUCCESS`| | | | |`HIPSOLVER_STATUS_SUCCESS`|4.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ZERO_PIVOT`| | | | |`HIPSOLVER_STATUS_ZERO_PIVOT`| | | | | | | ||
|`cusolverDnHandle_t`| | | | |`hipsolverHandle_t`|4.5.0| | | |6.0.0| | ||
|`cusolverEigType_t`|8.0| | | |`hipsolverEigType_t`|4.5.0| | | |6.0.0| | ||
|`cusolverStatus_t`| | | | |`hipsolverStatus_t`|4.5.0| | | |6.0.0| | ||
|
||
## **2. CUSOLVER Function Reference** | ||
|
||
|**CUDA**|**A**|**D**|**C**|**R**|**HIP**|**A**|**D**|**C**|**R**|**E**| | ||
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| | ||
|`cusolverDnCreate`| | | | |`hipsolverDnCreate`|5.1.0| | | |6.0.0| | ||
|`cusolverDnCreateParams`|11.0| | | | | | | | | | | ||
|`cusolverDnDestroy`| | | | |`hipsolverDnDestroy`|5.1.0| | | |6.0.0| | ||
|`cusolverDnDgetrf`| | | | |`hipsolverDnDgetrf`|5.1.0| | | |6.0.0| | ||
|`cusolverDnDgetrf_bufferSize`| | | | |`hipsolverDnDgetrf_bufferSize`|5.1.0| | | |6.0.0| | ||
|`cusolverDnDgetrs`| | | | |`hipsolverDnDgetrs`|5.1.0| | | |6.0.0| | ||
|`cusolverDnSetAdvOptions`|11.0| | | | | | | | | | | ||
|`cusolverDnSgetrf`| | | | |`hipsolverDnSgetrf`|5.1.0| | | |6.0.0| | ||
|`cusolverDnSgetrf_bufferSize`| | | | |`hipsolverDnSgetrf_bufferSize`|5.1.0| | | |6.0.0| | ||
|`cusolverDnSgetrs`| | | | |`hipsolverDnSgetrs`|5.1.0| | | |6.0.0| | ||
|`cusolverDnXgetrf`|11.1| | | | | | | | | | | ||
|`cusolverDnXgetrf_bufferSize`|11.1| | | | | | | | | | | ||
|`cusolverDnXgetrs`|11.1| | | | | | | | | | | ||
|
||
|
||
\*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# CUSOLVER API supported by HIP and ROC | ||
|
||
## **1. CUSOLVER Data types** | ||
|
||
|**CUDA**|**A**|**D**|**C**|**R**|**HIP**|**A**|**D**|**C**|**R**|**E**|**ROC**|**A**|**D**|**C**|**R**|**E**| | ||
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| | ||
|`CUSOLVER_EIG_TYPE_1`|8.0| | | |`HIPSOLVER_EIG_TYPE_1`|4.5.0| | | |6.0.0|`rocblas_eform_ax`|4.2.0| | | |6.0.0| | ||
|`CUSOLVER_EIG_TYPE_2`|8.0| | | |`HIPSOLVER_EIG_TYPE_2`|4.5.0| | | |6.0.0|`rocblas_eform_abx`|4.2.0| | | |6.0.0| | ||
|`CUSOLVER_EIG_TYPE_3`|8.0| | | |`HIPSOLVER_EIG_TYPE_3`|4.5.0| | | |6.0.0|`rocblas_eform_bax`|4.2.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ALLOC_FAILED`| | | | |`HIPSOLVER_STATUS_ALLOC_FAILED`|4.5.0| | | |6.0.0|`rocblas_status_memory_error`|5.6.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ARCH_MISMATCH`| | | | |`HIPSOLVER_STATUS_ARCH_MISMATCH`|4.5.0| | | |6.0.0|`rocblas_status_arch_mismatch`|5.7.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_EXECUTION_FAILED`| | | | |`HIPSOLVER_STATUS_EXECUTION_FAILED`|4.5.0| | | |6.0.0|`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INTERNAL_ERROR`| | | | |`HIPSOLVER_STATUS_INTERNAL_ERROR`|4.5.0| | | |6.0.0|`rocblas_status_internal_error`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INVALID_LICENSE`| | | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_INVALID_VALUE`| | | | |`HIPSOLVER_STATUS_INVALID_VALUE`|4.5.0| | | |6.0.0|`rocblas_status_invalid_value`|3.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INVALID_WORKSPACE`|11.0| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INFOS_NOT_DESTROYED`|11.0| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INFOS_NOT_INITIALIZED`|10.2| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INTERNAL_ERROR`|10.2| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_MATRIX_SINGULAR`|11.0| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_NOT_SUPPORTED`|10.2| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_NRHS_NOT_SUPPORTED_FOR_REFINE_GMRES`|10.2| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_OUT_OF_RANGE`|10.2| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID`|10.2| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_MAXITER`|11.0| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_PREC`|11.0| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_REFINE`|11.0| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_NOT_INITIALIZED`|10.2| | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_MAPPING_ERROR`| | | | |`HIPSOLVER_STATUS_MAPPING_ERROR`|4.5.0| | | |6.0.0|`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_MATRIX_TYPE_NOT_SUPPORTED`| | | | | | | | | | | | | | | | | | ||
|`CUSOLVER_STATUS_NOT_INITIALIZED`| | | | |`HIPSOLVER_STATUS_NOT_INITIALIZED`|4.5.0| | | |6.0.0|`rocblas_status_invalid_handle`|5.6.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_NOT_SUPPORTED`| | | | |`HIPSOLVER_STATUS_NOT_SUPPORTED`|4.5.0| | | |6.0.0|`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_SUCCESS`| | | | |`HIPSOLVER_STATUS_SUCCESS`|4.5.0| | | |6.0.0|`rocblas_status_success`|3.0.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ZERO_PIVOT`| | | | |`HIPSOLVER_STATUS_ZERO_PIVOT`| | | | | |`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`cusolverDnHandle_t`| | | | |`hipsolverHandle_t`|4.5.0| | | |6.0.0|`rocblas_handle`|1.5.0| | | |6.0.0| | ||
|`cusolverEigType_t`|8.0| | | |`hipsolverEigType_t`|4.5.0| | | |6.0.0|`rocblas_eform`|4.2.0| | | |6.0.0| | ||
|`cusolverStatus_t`| | | | |`hipsolverStatus_t`|4.5.0| | | |6.0.0|`rocblas_status`|3.0.0| | | |6.0.0| | ||
|
||
## **2. CUSOLVER Function Reference** | ||
|
||
|**CUDA**|**A**|**D**|**C**|**R**|**HIP**|**A**|**D**|**C**|**R**|**E**|**ROC**|**A**|**D**|**C**|**R**|**E**| | ||
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| | ||
|`cusolverDnCreate`| | | | |`hipsolverDnCreate`|5.1.0| | | |6.0.0|`rocblas_create_handle`| | | | | | | ||
|`cusolverDnCreateParams`|11.0| | | | | | | | | | | | | | | | | ||
|`cusolverDnDestroy`| | | | |`hipsolverDnDestroy`|5.1.0| | | |6.0.0|`rocblas_destroy_handle`| | | | | | | ||
|`cusolverDnDgetrf`| | | | |`hipsolverDnDgetrf`|5.1.0| | | |6.0.0| | | | | | | | ||
|`cusolverDnDgetrf_bufferSize`| | | | |`hipsolverDnDgetrf_bufferSize`|5.1.0| | | |6.0.0| | | | | | | | ||
|`cusolverDnDgetrs`| | | | |`hipsolverDnDgetrs`|5.1.0| | | |6.0.0| | | | | | | | ||
|`cusolverDnSetAdvOptions`|11.0| | | | | | | | | | | | | | | | | ||
|`cusolverDnSgetrf`| | | | |`hipsolverDnSgetrf`|5.1.0| | | |6.0.0| | | | | | | | ||
|`cusolverDnSgetrf_bufferSize`| | | | |`hipsolverDnSgetrf_bufferSize`|5.1.0| | | |6.0.0| | | | | | | | ||
|`cusolverDnSgetrs`| | | | |`hipsolverDnSgetrs`|5.1.0| | | |6.0.0| | | | | | | | ||
|`cusolverDnXgetrf`|11.1| | | | | | | | | | | | | | | | | ||
|`cusolverDnXgetrf_bufferSize`|11.1| | | | | | | | | | | | | | | | | ||
|`cusolverDnXgetrs`|11.1| | | | | | | | | | | | | | | | | ||
|
||
|
||
\*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# CUSOLVER API supported by ROC | ||
|
||
## **1. CUSOLVER Data types** | ||
|
||
|**CUDA**|**A**|**D**|**C**|**R**|**ROC**|**A**|**D**|**C**|**R**|**E**| | ||
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| | ||
|`CUSOLVER_EIG_TYPE_1`|8.0| | | |`rocblas_eform_ax`|4.2.0| | | |6.0.0| | ||
|`CUSOLVER_EIG_TYPE_2`|8.0| | | |`rocblas_eform_abx`|4.2.0| | | |6.0.0| | ||
|`CUSOLVER_EIG_TYPE_3`|8.0| | | |`rocblas_eform_bax`|4.2.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ALLOC_FAILED`| | | | |`rocblas_status_memory_error`|5.6.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ARCH_MISMATCH`| | | | |`rocblas_status_arch_mismatch`|5.7.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_EXECUTION_FAILED`| | | | |`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INTERNAL_ERROR`| | | | |`rocblas_status_internal_error`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INVALID_LICENSE`| | | | | | | | | | | | ||
|`CUSOLVER_STATUS_INVALID_VALUE`| | | | |`rocblas_status_invalid_value`|3.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_INVALID_WORKSPACE`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INFOS_NOT_DESTROYED`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INFOS_NOT_INITIALIZED`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_INTERNAL_ERROR`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_MATRIX_SINGULAR`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_NOT_SUPPORTED`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_NRHS_NOT_SUPPORTED_FOR_REFINE_GMRES`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_OUT_OF_RANGE`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_MAXITER`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_PREC`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_INVALID_REFINE`|11.0| | | | | | | | | | | ||
|`CUSOLVER_STATUS_IRS_PARAMS_NOT_INITIALIZED`|10.2| | | | | | | | | | | ||
|`CUSOLVER_STATUS_MAPPING_ERROR`| | | | |`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_MATRIX_TYPE_NOT_SUPPORTED`| | | | | | | | | | | | ||
|`CUSOLVER_STATUS_NOT_INITIALIZED`| | | | |`rocblas_status_invalid_handle`|5.6.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_NOT_SUPPORTED`| | | | |`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_SUCCESS`| | | | |`rocblas_status_success`|3.0.0| | | |6.0.0| | ||
|`CUSOLVER_STATUS_ZERO_PIVOT`| | | | |`rocblas_status_not_implemented`|1.5.0| | | |6.0.0| | ||
|`cusolverDnHandle_t`| | | | |`rocblas_handle`|1.5.0| | | |6.0.0| | ||
|`cusolverEigType_t`|8.0| | | |`rocblas_eform`|4.2.0| | | |6.0.0| | ||
|`cusolverStatus_t`| | | | |`rocblas_status`|3.0.0| | | |6.0.0| | ||
|
||
## **2. CUSOLVER Function Reference** | ||
|
||
|**CUDA**|**A**|**D**|**C**|**R**|**ROC**|**A**|**D**|**C**|**R**|**E**| | ||
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| | ||
|`cusolverDnCreate`| | | | |`rocblas_create_handle`| | | | | | | ||
|`cusolverDnCreateParams`|11.0| | | | | | | | | | | ||
|`cusolverDnDestroy`| | | | |`rocblas_destroy_handle`| | | | | | | ||
|`cusolverDnDgetrf`| | | | | | | | | | | | ||
|`cusolverDnDgetrf_bufferSize`| | | | | | | | | | | | ||
|`cusolverDnDgetrs`| | | | | | | | | | | | ||
|`cusolverDnSetAdvOptions`|11.0| | | | | | | | | | | ||
|`cusolverDnSgetrf`| | | | | | | | | | | | ||
|`cusolverDnSgetrf_bufferSize`| | | | | | | | | | | | ||
|`cusolverDnSgetrs`| | | | | | | | | | | | ||
|`cusolverDnXgetrf`|11.1| | | | | | | | | | | ||
|`cusolverDnXgetrf_bufferSize`|11.1| | | | | | | | | | | ||
|`cusolverDnXgetrs`|11.1| | | | | | | | | | | ||
|
||
|
||
\*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters