muSPARSE API 参考
目录
- musparse-auxiliary.h File
- musparseCreateCsr Function
- musparseCreateDnVec Function
- _MUSPARSE_AUXILIARY_H_ Macro
- musparseCreate Function
- musparseDestroy Function
- musparseSetStream Function
- musparseGetStream Function
- musparseSetPointerMode Function
- musparseGetPointerMode Function
- musparseGetVersion Function
- musparseGetGitRev Function
- musparseCreateMatDescr Function
- musparseCopyMatDescr Function
- musparseDestroyMatDescr Function
- musparseSetMatIndexBase Function
- musparseGetMatIndexBase Function
- musparseSetMatType Function
- musparseGetMatType Function
- musparseSetMatFillMode Function
- musparseGetMatFillMode Function
- musparseSetMatDiagType Function
- musparseGetMatDiagType Function
- musparseSetMatStorageMode Function
- musparseGetMatStorageMode Function
- musparseCreateHybMat Function
- musparseCopyHybMat Function
- musparseDestroyHybMat Function
- musparseCreateMatInfo Function
- musparseCopyMatInfo Function
- musparseDestroyMatInfo Function
- musparseCreateColorInfo Function
- musparseCopyColorInfo Function
- musparseDestroyColorInfo Function
- musparseCreateSpVec Function
- musparseCreateConstSpVec Function
- musparseDestroySpVec Function
- musparseSpVecGet Function
- musparseSpVecGetIndexBase Function
- musparseSpVecGetValues Function
- musparseSpVecSetValues Function
- musparseCreateCoo Function
- musparseCreateCooAos Function
- musparseCreateConstCsr Function
- musparseCreateCsc Function
- musparseCreateEll Function
- musparseCreateBlockedEll_legacy Function
- musparseDestroySpMat Function
- musparseCooAosGet Function
- musparseCooGet Function
- musparseCsrGet Function
- musparseEllGet Function
- musparseBlockedEllGet_legacy Function
- musparseCooSetPointers Function
- musparseCooAosSetPointers Function
- musparseCsrSetPointers Function
- musparseCscSetPointers Function
- musparseEllSetPointers Function
- musparseSpMatGetSize Function
- musparseSpMatGetFormat Function
- musparseSpMatGetIndexBase Function
- musparseSpMatGetValues Function
- musparseSpMatSetValues Function
- musparseSpMatGetAttribute Function
- musparseSpMatSetAttribute Function
- musparseDestroyDnVec Function
- musparseDnVecGet Function
- musparseDnVecGetValues Function
- musparseDnVecSetValues Function
- musparseCreateDnMat Function
- musparseDestroyDnMat Function
- musparseDnMatGet Function
- musparseDnMatGetValues Function
- musparseDnMatSetValues Function
- musparseDnMatGetStridedBatch Function
- musparseDnMatSetStridedBatch Function
- musparseSpMatGetStridedBatch Function
- musparseSpMatSetStridedBatch Function
- musparseCooSetStridedBatch Function
- musparseCsrSetStridedBatch Function
- musparseCscSetStridedBatch Function
- musparseGetErrorName Function
- musparseGetErrorString Function
- musparseGetProperty Function
- musparse-compatible.h File
- _MUSPARSE_WRAPPER_H Macro
- musparseLoggerCallback_t Typedef
- musparseCreateCsric02Info Function
- musparseDestroyCsric02Info Function
- musparseCreateBsric02Info Function
- musparseDestroyBsric02Info Function
- musparseCreateCsrilu02Info Function
- musparseDestroyCsrilu02Info Function
- musparseCreateBsrilu02Info Function
- musparseDestroyBsrilu02Info Function
- musparseCreateBsrsv2Info Function
- musparseDestroyBsrsv2Info Function
- musparseCreateBsrsm2Info Function
- musparseDestroyBsrsm2Info Function
- musparseCreateCsru2csrInfo Function
- musparseDestroyCsru2csrInfo Function
- musparseCreatePruneInfo Function
- musparseDestroyPruneInfo Function
- musparseScsrilu02_numericBoost Function
- musparseDcsrilu02_numericBoost Function
- musparseCcsrilu02_numericBoost Function
- musparseZcsrilu02_numericBoost Function
- musparseXcsrilu02_zeroPivot Function
- musparseScsrilu02_bufferSize Function
- musparseDcsrilu02_bufferSize Function
- musparseCcsrilu02_bufferSize Function
- musparseZcsrilu02_bufferSize Function
- musparseScsrilu02_analysis Function
- musparseDcsrilu02_analysis Function
- musparseCcsrilu02_analysis Function
- musparseZcsrilu02_analysis Function
- musparseScsrilu02 Function
- musparseDcsrilu02 Function
- musparseCcsrilu02 Function
- musparseZcsrilu02 Function
- musparseXcsrilu02_clear Function
- musparseSpSV_createDescr Function
- musparseSpSV_destroyDescr Function
- musparseSpSV_bufferSize Function
- musparseSpSV_analysis Function
- musparseSpSV_solve Function
- musparseSbsrilu02_numericBoost Function
- musparseDbsrilu02_numericBoost Function
- musparseCbsrilu02_numericBoost Function
- musparseZbsrilu02_numericBoost Function
- musparseXbsrilu02_zeroPivot Function
- musparseSbsrilu02_bufferSize Function
- musparseDbsrilu02_bufferSize Function
- musparseCbsrilu02_bufferSize Function
- musparseZbsrilu02_bufferSize Function
- musparseSbsrilu02_bufferSizeExt Function
- musparseDbsrilu02_bufferSizeExt Function
- musparseCbsrilu02_bufferSizeExt Function
- musparseZbsrilu02_bufferSizeExt Function
- musparseSbsrilu02_analysis Function
- musparseDbsrilu02_analysis Function
- musparseCbsrilu02_analysis Function
- musparseZbsrilu02_analysis Function
- musparseSbsrilu02 Function
- musparseDbsrilu02 Function
- musparseCbsrilu02 Function
- musparseZbsrilu02 Function
- musparseXcsric02_zeroPivot Function
- musparseScsric02_bufferSize Function
- musparseDcsric02_bufferSize Function
- musparseCcsric02_bufferSize Function
- musparseZcsric02_bufferSize Function
- musparseScsric02_bufferSizeExt Function
- musparseDcsric02_bufferSizeExt Function
- musparseCcsric02_bufferSizeExt Function
- musparseZcsric02_bufferSizeExt Function
- musparseScsric02_analysis Function
- musparseDcsric02_analysis Function
- musparseCcsric02_analysis Function
- musparseZcsric02_analysis Function
- musparseScsric02 Function
- musparseDcsric02 Function
- musparseCcsric02 Function
- musparseZcsric02 Function
- musparseXbsric02_zeroPivot Function
- musparseSbsric02_bufferSize Function
- musparseDbsric02_bufferSize Function
- musparseCbsric02_bufferSize Function
- musparseZbsric02_bufferSize Function
- musparseSbsric02_bufferSizeExt Function
- musparseDbsric02_bufferSizeExt Function
- musparseCbsric02_bufferSizeExt Function
- musparseZbsric02_bufferSizeExt Function
- musparseSbsric02_analysis Function
- musparseDbsric02_analysis Function
- musparseCbsric02_analysis Function
- musparseZbsric02_analysis Function
- musparseSbsric02 Function
- musparseDbsric02 Function
- musparseCbsric02 Function
- musparseZbsric02 Function
- musparseXbsrsm2_zeroPivot Function
- musparseSbsrsm2_bufferSize Function
- musparseDbsrsm2_bufferSize Function
- musparseCbsrsm2_bufferSize Function
- musparseZbsrsm2_bufferSize Function
- musparseSbsrsm2_bufferSizeExt Function
- musparseDbsrsm2_bufferSizeExt Function
- musparseCbsrsm2_bufferSizeExt Function
- musparseZbsrsm2_bufferSizeExt Function
- musparseSbsrsm2_analysis Function
- musparseDbsrsm2_analysis Function
- musparseCbsrsm2_analysis Function
- musparseZbsrsm2_analysis Function
- musparseSbsrsm2_solve Function
- musparseDbsrsm2_solve Function
- musparseCbsrsm2_solve Function
- musparseZbsrsm2_solve Function
- musparseXbsrsv2_zeroPivot Function
- musparseSbsrsv2_bufferSize Function
- musparseDbsrsv2_bufferSize Function
- musparseCbsrsv2_bufferSize Function
- musparseZbsrsv2_bufferSize Function
- musparseSbsrsv2_bufferSizeExt Function
- musparseDbsrsv2_bufferSizeExt Function
- musparseCbsrsv2_bufferSizeExt Function
- musparseZbsrsv2_bufferSizeExt Function
- musparseSbsrsv2_analysis Function
- musparseDbsrsv2_analysis Function
- musparseCbsrsv2_analysis Function
- musparseZbsrsv2_analysis Function
- musparseSbsrsv2_solve Function
- musparseDbsrsv2_solve Function
- musparseCbsrsv2_solve Function
- musparseZbsrsv2_solve Function
- musparseScsr2gebsr_bufferSize Function
- musparseDcsr2gebsr_bufferSize Function
- musparseCcsr2gebsr_bufferSize Function
- musparseZcsr2gebsr_bufferSize Function
- musparseScsrmm2 Function
- musparseDcsrmm2 Function
- musparseCcsrmm2 Function
- musparseZcsrmm2 Function
- musparseScsrgeam2_bufferSizeExt Function
- musparseDcsrgeam2_bufferSizeExt Function
- musparseCcsrgeam2_bufferSizeExt Function
- musparseZcsrgeam2_bufferSizeExt Function
- musparseXcsrgeam2Nnz Function
- musparseScsrgeam2 Function
- musparseDcsrgeam2 Function
- musparseCcsrgeam2 Function
- musparseZcsrgeam2 Function
- musparseHpruneCsr2csr_bufferSizeExt Function
- musparseSpruneCsr2csr_bufferSizeExt Function
- musparseDpruneCsr2csr_bufferSizeExt Function
- musparseHpruneCsr2csrNnz Function
- musparseSpruneCsr2csrNnz Function
- musparseDpruneCsr2csrNnz Function
- musparseHpruneCsr2csr Function
- musparseHpruneCsr2csrNnzByPercentage Function
- musparseSpruneCsr2csrNnzByPercentage Function
- musparseDpruneCsr2csrNnzByPercentage Function
- musparseHpruneCsr2csrByPercentage Function
- musparseHpruneCsr2csrByPercentage_bufferSizeExt Function
- musparseSpruneCsr2csrByPercentage_bufferSizeExt Function
- musparseDpruneCsr2csrByPercentage_bufferSizeExt Function
- musparseHpruneDense2csr_bufferSizeExt Function
- musparseSpruneDense2csr_bufferSizeExt Function
- musparseDpruneDense2csr_bufferSizeExt Function
- musparseHpruneDense2csrNnz Function
- musparseSpruneDense2csrNnz Function
- musparseDpruneDense2csrNnz Function
- musparseHpruneDense2csr Function
- musparseHpruneDense2csrByPercentage_bufferSizeExt Function
- musparseSpruneDense2csrByPercentage_bufferSizeExt Function
- musparseDpruneDense2csrByPercentage_bufferSizeExt Function
- musparseHpruneDense2csrNnzByPercentage Function
- musparseSpruneDense2csrNnzByPercentage Function
- musparseDpruneDense2csrNnzByPercentage Function
- musparseXcoosort_bufferSizeExt Function
- musparseXcscsort_bufferSizeExt Function
- musparseXcsr2bsrNnz Function
- musparseScsru2csr_bufferSizeExt Function
- musparseDcsru2csr_bufferSizeExt Function
- musparseCcsru2csr_bufferSizeExt Function
- musparseZcsru2csr_bufferSizeExt Function
- musparseScsru2csr Function
- musparseDcsru2csr Function
- musparseCcsru2csr Function
- musparseZcsru2csr Function
- musparseScsr2csru Function
- musparseDcsr2csru Function
- musparseCcsr2csru Function
- musparseZcsr2csru Function
- musparseXcsrsort_bufferSizeExt Function
- musparseSpSV_updateMatrix Function
- musparseConstSpVecGet Function
- musparseConstSpVecGetValues Function
- musparseXgebsr2gebsrNnz Function
- musparseCreateSlicedEll Function
- musparseCreateConstSlicedEll Function
- musparseCreateBlockedEll Function
- musparseCreateConstBlockedEll Function
- musparseBlockedEllGet Function
- musparseConstBlockedEllGet Function
- musparseCreateBsr Function
- musparseCscGet Function
- musparseBsrSetStridedBatch Function
- musparseSpVV_bufferSize Function
- musparseSpVV Function
- musparseSparseToDense_bufferSize Function
- musparseSparseToDense Function
- musparseXcsr2gebsrNnz Function
- musparseCgebsr2gebsc_bufferSize Function
- musparseCgtsv2 Function
- musparseCgtsv2StridedBatch Function
- musparseCgtsv2StridedBatch_bufferSizeExt Function
- musparseCgtsv2_bufferSizeExt Function
- musparseCgtsv2_nopivot Function
- musparseCgtsv2_nopivot_bufferSizeExt Function
- musparseCgtsvInterleavedBatch Function
- musparseCgtsvInterleavedBatch_bufferSizeExt Function
- musparseCgebsr2gebsr_bufferSize Function
- musparseCgemvi_bufferSize Function
- musparseCgpsvInterleavedBatch Function
- musparseCgpsvInterleavedBatch_bufferSizeExt Function
- musparseDgebsr2gebsc_bufferSize Function
- musparseDgebsr2gebsr_bufferSize Function
- musparseDgemvi_bufferSize Function
- musparseDgpsvInterleavedBatch Function
- musparseDgpsvInterleavedBatch_bufferSizeExt Function
- musparseDgtsv2 Function
- musparseDgtsv2StridedBatch Function
- musparseDgtsv2StridedBatch_bufferSizeExt Function
- musparseDgtsv2_bufferSizeExt Function
- musparseDgtsv2_nopivot Function
- musparseDgtsv2_nopivot_bufferSizeExt Function
- musparseDgtsvInterleavedBatch Function
- musparseDgtsvInterleavedBatch_bufferSizeExt Function
- musparseSgebsr2gebsc_bufferSize Function
- musparseSgebsr2gebsr_bufferSize Function
- musparseSgemvi_bufferSize Function
- musparseSgpsvInterleavedBatch Function
- musparseSgpsvInterleavedBatch_bufferSizeExt Function
- musparseSgtsv2 Function
- musparseSgtsv2StridedBatch Function
- musparseSgtsv2StridedBatch_bufferSizeExt Function
- musparseSgtsv2_bufferSizeExt Function
- musparseSgtsv2_nopivot Function
- musparseSgtsv2_nopivot_bufferSizeExt Function
- musparseSgtsvInterleavedBatch Function
- musparseSgtsvInterleavedBatch_bufferSizeExt Function
- musparseZgebsr2gebsc_bufferSize Function
- musparseZgebsr2gebsr_bufferSize Function
- musparseZgemvi_bufferSize Function
- musparseZgpsvInterleavedBatch Function
- musparseZgpsvInterleavedBatch_bufferSizeExt Function
- musparseZgtsv2 Function
- musparseZgtsv2StridedBatch Function
- musparseZgtsv2StridedBatch_bufferSizeExt Function
- musparseZgtsv2_bufferSizeExt Function
- musparseZgtsv2_nopivot Function
- musparseZgtsv2_nopivot_bufferSizeExt Function
- musparseZgtsvInterleavedBatch Function
- musparseZgtsvInterleavedBatch_bufferSizeExt Function
- musparseConstCooGet Function
- musparseConstCscGet Function
- musparseConstCsrGet Function
- musparseConstDnMatGet Function
- musparseConstDnMatGetValues Function
- musparseConstDnVecGet Function
- musparseConstDnVecGetValues Function
- musparseConstSpMatGetValues Function
- musparseCreateConstBsr Function
- musparseCreateConstCoo Function
- musparseCreateConstCsc Function
- musparseCreateConstDnMat Function
- musparseCreateConstDnVec Function
- musparseLoggerSetCallback Function
- musparseLoggerSetFile Function
- musparseLoggerOpenFile Function
- musparseLoggerSetLevel Function
- musparseLoggerSetMask Function
- musparseLoggerForceDisable Function
- musparseCreateCsrgemm2Info Function
- musparseDestroyCsrgemm2Info Function
- musparse-functions.h File
- musparseCsr2CscAlg_t Enumeration type
- MUSPARSE_CSR2CSC_ALG_DEFAULT Enumerator
- MUSPARSE_CSR2CSC_ALG1 Enumerator
- musparseScsr2csc Function
- musparseDcsr2csc Function
- musparseCcsr2csc Function
- musparseZcsr2csc Function
- musparseCsr2cscEx2 Function
- musparseCsr2cscEx2_bufferSize Function
- musparseSaxpyi Function
- musparseDaxpyi Function
- musparseCaxpyi Function
- musparseZaxpyi Function
- musparseSdoti Function
- musparseDdoti Function
- musparseCdoti Function
- musparseZdoti Function
- musparseCdotci Function
- musparseZdotci Function
- musparseSgthr Function
- musparseDgthr Function
- musparseCgthr Function
- musparseZgthr Function
- musparseSgthrz Function
- musparseDgthrz Function
- musparseCgthrz Function
- musparseZgthrz Function
- musparseSroti Function
- musparseDroti Function
- musparseSsctr Function
- musparseDsctr Function
- musparseCsctr Function
- musparseZsctr Function
- musparseIsctr Function
- musparseSbsrmv Function
- musparseDbsrmv Function
- musparseCbsrmv Function
- musparseZbsrmv Function
- musparseSbsrxmv Function
- musparseDbsrxmv Function
- musparseCbsrxmv Function
- musparseZbsrxmv Function
- musparseSbsrsv_bufferSize Function
- musparseDbsrsv_bufferSize Function
- musparseCbsrsv_bufferSize Function
- musparseZbsrsv_bufferSize Function
- musparseSbsrsv_analysis Function
- musparseDbsrsv_analysis Function
- musparseCbsrsv_analysis Function
- musparseZbsrsv_analysis Function
- musparseSbsrsv_solve Function
- musparseDbsrsv_solve Function
- musparseCbsrsv_solve Function
- musparseZbsrsv_solve Function
- musparseScoomv Function
- musparseDcoomv Function
- musparseCcoomv Function
- musparseZcoomv Function
- musparseScsrmv_analysis Function
- musparseDcsrmv_analysis Function
- musparseCcsrmv_analysis Function
- musparseZcsrmv_analysis Function
- musparseScsrmv Function
- musparseDcsrmv Function
- musparseCcsrmv Function
- musparseZcsrmv Function
- musparseScsrsv_bufferSize Function
- musparseDcsrsv_bufferSize Function
- musparseCcsrsv_bufferSize Function
- musparseZcsrsv_bufferSize Function
- musparseScsrsv_analysis Function
- musparseDcsrsv_analysis Function
- musparseCcsrsv_analysis Function
- musparseZcsrsv_analysis Function
- musparseScsrsv_solve Function
- musparseDcsrsv_solve Function
- musparseCcsrsv_solve Function
- musparseZcsrsv_solve Function
- musparseSellmv Function
- musparseDellmv Function
- musparseCellmv Function
- musparseZellmv Function
- musparseShybmv Function
- musparseDhybmv Function
- musparseChybmv Function
- musparseZhybmv Function
- musparseSgebsrmv Function
- musparseDgebsrmv Function
- musparseCgebsrmv Function
- musparseZgebsrmv Function
- musparseSgemvi_bufferSize_legacy Function
- musparseDgemvi_bufferSize_legacy Function
- musparseCgemvi_bufferSize_legacy Function
- musparseZgemvi_bufferSize_legacy Function
- musparseSgemvi Function
- musparseDgemvi Function
- musparseCgemvi Function
- musparseZgemvi Function
- musparseSbsrmm Function
- musparseDbsrmm Function
- musparseCbsrmm Function
- musparseZbsrmm Function
- musparseSgebsrmm Function
- musparseDgebsrmm Function
- musparseCgebsrmm Function
- musparseZgebsrmm Function
- musparseScsrmm Function
- musparseDcsrmm Function
- musparseCcsrmm Function
- musparseZcsrmm Function
- musparseScsrsm_bufferSize Function
- musparseDcsrsm_bufferSize Function
- musparseCcsrsm_bufferSize Function
- musparseZcsrsm_bufferSize Function
- musparseScsrsm_analysis Function
- musparseDcsrsm_analysis Function
- musparseCcsrsm_analysis Function
- musparseZcsrsm_analysis Function
- musparseScsrsm_solve Function
- musparseDcsrsm_solve Function
- musparseCcsrsm_solve Function
- musparseZcsrsm_solve Function
- musparseSbsrsm_bufferSize Function
- musparseDbsrsm_bufferSize Function
- musparseCbsrsm_bufferSize Function
- musparseZbsrsm_bufferSize Function
- musparseSbsrsm_analysis Function
- musparseDbsrsm_analysis Function
- musparseCbsrsm_analysis Function
- musparseZbsrsm_analysis Function
- musparseSbsrsm_solve Function
- musparseDbsrsm_solve Function
- musparseCbsrsm_solve Function
- musparseZbsrsm_solve Function
- musparseSgemmi Function
- musparseDgemmi Function
- musparseCgemmi Function
- musparseZgemmi Function
- musparseScsrgeam Function
- musparseDcsrgeam Function
- musparseCcsrgeam Function
- musparseZcsrgeam Function
- musparseScsrgemm_bufferSize Function
- musparseDcsrgemm_bufferSize Function
- musparseCcsrgemm_bufferSize Function
- musparseZcsrgemm_bufferSize Function
- musparseScsrgemm Function
- musparseDcsrgemm Function
- musparseCcsrgemm Function
- musparseZcsrgemm Function
- musparseXcsrgemm_symbolic Function
- musparseScsrgemm_numeric Function
- musparseDcsrgemm_numeric Function
- musparseCcsrgemm_numeric Function
- musparseZcsrgemm_numeric Function
- musparseSbsric0_bufferSize Function
- musparseDbsric0_bufferSize Function
- musparseCbsric0_bufferSize Function
- musparseZbsric0_bufferSize Function
- musparseSbsric0_analysis Function
- musparseDbsric0_analysis Function
- musparseCbsric0_analysis Function
- musparseZbsric0_analysis Function
- musparseSbsric0 Function
- musparseDbsric0 Function
- musparseCbsric0 Function
- musparseZbsric0 Function
- musparseSbsrilu0_numericBoost Function
- musparseDbsrilu0_numericBoost Function
- musparseCbsrilu0_numericBoost Function
- musparseZbsrilu0_numericBoost Function
- musparseDSbsrilu0_numericBoost Function
- musparseDCbsrilu0_numericBoost Function
- musparseSbsrilu0_bufferSize Function
- musparseDbsrilu0_bufferSize Function
- musparseCbsrilu0_bufferSize Function
- musparseZbsrilu0_bufferSize Function
- musparseSbsrilu0_analysis Function
- musparseDbsrilu0_analysis Function
- musparseCbsrilu0_analysis Function
- musparseZbsrilu0_analysis Function
- musparseSbsrilu0 Function
- musparseDbsrilu0 Function
- musparseCbsrilu0 Function
- musparseZbsrilu0 Function
- musparseScsric0_bufferSize Function
- musparseDcsric0_bufferSize Function
- musparseCcsric0_bufferSize Function
- musparseZcsric0_bufferSize Function
- musparseScsric0_analysis Function
- musparseDcsric0_analysis Function
- musparseCcsric0_analysis Function
- musparseZcsric0_analysis Function
- musparseScsric0 Function
- musparseDcsric0 Function
- musparseCcsric0 Function
- musparseZcsric0 Function
- musparseScsrilu0_numericBoost Function
- musparseDcsrilu0_numericBoost Function
- musparseCcsrilu0_numericBoost Function
- musparseZcsrilu0_numericBoost Function
- musparseDScsrilu0_numericBoost Function
- musparseDCcsrilu0_numericBoost Function
- musparseScsrilu0_bufferSize Function
- musparseDcsrilu0_bufferSize Function
- musparseCcsrilu0_bufferSize Function
- musparseZcsrilu0_bufferSize Function
- musparseScsrilu0_analysis Function
- musparseDcsrilu0_analysis Function
- musparseCcsrilu0_analysis Function
- musparseZcsrilu0_analysis Function
- musparseScsrilu0 Function
- musparseDcsrilu0 Function
- musparseCcsrilu0 Function
- musparseZcsrilu0 Function
- musparseSgtsv_bufferSize Function
- musparseDgtsv_bufferSize Function
- musparseCgtsv_bufferSize Function
- musparseZgtsv_bufferSize Function
- musparseSgtsv Function
- musparseDgtsv Function
- musparseCgtsv Function
- musparseZgtsv Function
- musparseSgtsv_nopivot_bufferSize Function
- musparseDgtsv_nopivot_bufferSize Function
- musparseCgtsv_nopivot_bufferSize Function
- musparseZgtsv_nopivot_bufferSize Function
- musparseSgtsv_nopivot Function
- musparseDgtsv_nopivot Function
- musparseCgtsv_nopivot Function
- musparseZgtsv_nopivot Function
- musparseSgtsvStridedBatch_bufferSizeExt Function
- musparseDgtsvStridedBatch_bufferSizeExt Function
- musparseCgtsvStridedBatch_bufferSizeExt Function
- musparseZgtsvStridedBatch_bufferSizeExt Function
- musparseSgtsvStridedBatch Function
- musparseDgtsvStridedBatch Function
- musparseCgtsvStridedBatch Function
- musparseZgtsvStridedBatch Function
- musparseSgtsvInterleavedBatch_bufferSize Function
- musparseDgtsvInterleavedBatch_bufferSize Function
- musparseCgtsvInterleavedBatch_bufferSize Function
- musparseZgtsvInterleavedBatch_bufferSize Function
- musparseSgtsvInterleavedBatch_legacy Function
- musparseDgtsvInterleavedBatch_legacy Function
- musparseCgtsvInterleavedBatch_legacy Function
- musparseZgtsvInterleavedBatch_legacy Function
- musparseSgpsvInterleavedBatch_bufferSize Function
- musparseDgpsvInterleavedBatch_bufferSize Function
- musparseCgpsvInterleavedBatch_bufferSize Function
- musparseZgpsvInterleavedBatch_bufferSize Function
- musparseSgpsvInterleavedBatch_legacy Function
- musparseDgpsvInterleavedBatch_legacy Function
- musparseCgpsvInterleavedBatch_legacy Function
- musparseZgpsvInterleavedBatch_legacy Function
- musparseSnnz Function
- musparseDnnz Function
- musparseCnnz Function
- musparseZnnz Function
- musparseSdense2csr Function
- musparseDdense2csr Function
- musparseCdense2csr Function
- musparseZdense2csr Function
- musparseSpruneDense2csr_bufferSize Function
- musparseDpruneDense2csr_bufferSize Function
- musparseSpruneDense2csr_nnz Function
- musparseDpruneDense2csr_nnz Function
- musparseHpruneDense2csr_nnz Function
- musparseSpruneDense2csr Function
- musparseDpruneDense2csr Function
- musparseHpruneDense2csr Function
- musparseSpruneDense2csrByPercentage_bufferSize Function
- musparseDpruneDense2csrByPercentage_bufferSize Function
- musparseHpruneDense2csrByPercentage_bufferSize Function
- musparseSpruneDense2csr_nnzByPercentage Function
- musparseDpruneDense2csr_nnzByPercentage Function
- musparseHpruneDense2csr_nnzByPercentage Function
- musparseSpruneDense2csrByPercentage Function
- musparseDpruneDense2csrByPercentage Function
- musparseHpruneDense2csrByPercentage Function
- musparseSdense2csc Function
- musparseDdense2csc Function
- musparseCdense2csc Function
- musparseZdense2csc Function
- musparseSdense2coo Function
- musparseDdense2coo Function
- musparseCdense2coo Function
- musparseZdense2coo Function
- musparseScsr2dense Function
- musparseDcsr2dense Function
- musparseCcsr2dense Function
- musparseZcsr2dense Function
- musparseScsc2dense Function
- musparseDcsc2dense Function
- musparseCcsc2dense Function
- musparseZcsc2dense Function
- musparseScoo2dense Function
- musparseDcoo2dense Function
- musparseCcoo2dense Function
- musparseZcoo2dense Function
- musparseSnnz_compress Function
- musparseDnnz_compress Function
- musparseCnnz_compress Function
- musparseZnnz_compress Function
- musparseSgebsr2gebsc_bufferSize_legacy Function
- musparseDgebsr2gebsc_bufferSize_legacy Function
- musparseCgebsr2gebsc_bufferSize_legacy Function
- musparseZgebsr2gebsc_bufferSize_legacy Function
- musparseSgebsr2gebsc Function
- musparseDgebsr2gebsc Function
- musparseCgebsr2gebsc Function
- musparseZgebsr2gebsc Function
- musparseScsr2ell Function
- musparseDcsr2ell Function
- musparseCcsr2ell Function
- musparseZcsr2ell Function
- musparseScsr2hyb Function
- musparseDcsr2hyb Function
- musparseCcsr2hyb Function
- musparseZcsr2hyb Function
- musparseScsr2bsr Function
- musparseDcsr2bsr Function
- musparseCcsr2bsr Function
- musparseZcsr2bsr Function
- musparseScsr2gebsr_bufferSize_legacy Function
- musparseDcsr2gebsr_bufferSize_legacy Function
- musparseCcsr2gebsr_bufferSize_legacy Function
- musparseZcsr2gebsr_bufferSize_legacy Function
- musparseXcsr2gebsr_nnz Function
- musparseScsr2gebsr Function
- musparseDcsr2gebsr Function
- musparseCcsr2gebsr Function
- musparseZcsr2gebsr Function
- musparseScsr2csr_compress Function
- musparseDcsr2csr_compress Function
- musparseCcsr2csr_compress Function
- musparseZcsr2csr_compress Function
- musparseSpruneCsr2csr_bufferSize Function
- musparseDpruneCsr2csr_bufferSize Function
- musparseHpruneCsr2csr_bufferSize Function
- musparseHpruneDense2csr_bufferSize Function
- musparseSpruneCsr2csr_nnz Function
- musparseDpruneCsr2csr_nnz Function
- musparseHpruneCsr2csr_nnz Function
- musparseSpruneCsr2csr Function
- musparseDpruneCsr2csr Function
- musparseHpruneCsr2csr Function
- musparseSpruneCsr2csrByPercentage_bufferSize Function
- musparseDpruneCsr2csrByPercentage_bufferSize Function
- musparseHpruneCsr2csrByPercentage_bufferSize Function
- musparseSpruneCsr2csr_nnzByPercentage Function
- musparseDpruneCsr2csr_nnzByPercentage Function
- musparseHpruneCsr2csr_nnzByPercentage Function
- musparseSpruneCsr2csrByPercentage Function
- musparseDpruneCsr2csrByPercentage Function
- musparseHpruneCsr2csrByPercentage Function
- musparseSell2csr Function
- musparseDell2csr Function
- musparseCell2csr Function
- musparseZell2csr Function
- musparseShyb2csr Function
- musparseDhyb2csr Function
- musparseChyb2csr Function
- musparseZhyb2csr Function
- musparseSbsr2csr Function
- musparseDbsr2csr Function
- musparseCbsr2csr Function
- musparseZbsr2csr Function
- musparseSgebsr2csr Function
- musparseDgebsr2csr Function
- musparseCgebsr2csr Function
- musparseZgebsr2csr Function
- musparseSgebsr2gebsr_bufferSize_legacy Function
- musparseDgebsr2gebsr_bufferSize_legacy Function
- musparseCgebsr2gebsr_bufferSize_legacy Function
- musparseZgebsr2gebsr_bufferSize_legacy Function
- musparseSgebsr2gebsr Function
- musparseDgebsr2gebsr Function
- musparseCgebsr2gebsr Function
- musparseZgebsr2gebsr Function
- musparseScsrcolor Function
- musparseDcsrcolor Function
- musparseCcsrcolor Function
- musparseZcsrcolor Function
- _MUSPARSE_FUNCTIONS_H_ Macro
- musparseSpMMOpAlg_t Enumeration type
- MUSPARSE_SPMM_OP_ALG_DEFAULT Enumerator
- musparseSpSMDescr_t Typedef
- musparseSpMMOpPlan_t Typedef
- musparseSpGEMMDescr_t Typedef
- musparseXbsrsv_zeroPivot Function
- musparseXbsrsv_clear Function
- musparseXcsrmv_clear Function
- musparseXcsrmv_zeroPivot Function
- musparseXcsrsv_clear Function
- musparseXcsrsm_zeroPivot Function
- musparseXcsrsm_clear Function
- musparseXbsrsm_zeroPivot Function
- musparseXbsrsm_clear Function
- musparseXcsrgeam_nnz Function
- musparseXcsrgemm_nnz Function
- musparseXbsric0_zeroPivot Function
- musparseXbsric0_clear Function
- musparseXbsrilu0_zeroPivot Function
- musparseXbsrilu0_clear Function
- musparseXcsric0_zeroPivot Function
- musparseXcsric0_clear Function
- musparseXcsrilu0_zeroPivot Function
- musparseXcsrilu0_clear Function
- musparseXcsr2coo Function
- musparseXcsr2csc_bufferSize Function
- musparseXcsr2csr2ell_width Function
- musparseXcsr2bsr_nnz Function
- musparseXcoo2csr Function
- musparseXcsr2ell2csr_nnz Function
- musparseXhyb2csr_bufferSize Function
- musparseCreateIdentityPermutation Function
- musparseXcsrsort_bufferSize Function
- musparseXcsrsort Function
- musparseXcscsort_bufferSize Function
- musparseXcscsort Function
- musparseXcoosort_bufferSize Function
- musparseXcoosortByRow Function
- musparseXcoosortByColumn Function
- musparseXgebsr2gebsr_nnz Function
- musparseAxpby Function
- musparseGather Function
- musparseScatter Function
- musparseRot Function
- musparseSparseToDense_legacy Function
- musparseDenseToSparse Function
- musparseDenseToSparse_bufferSize Function
- musparseDenseToSparse_analysis Function
- musparseDenseToSparse_convert Function
- musparseSpVV_legacy Function
- musparseSpMV_legacy Function
- musparseSpMV_legacy_bufferSize Function
- musparseSpMV Function
- musparseSpMV_bufferSize Function
- musparseSpMV_preprocess Function
- musparseSpSV Function
- musparseSpSM Function
- musparseSpSM_createDescr Function
- musparseSpSM_destroyDescr Function
- musparseSpSM_bufferSize Function
- musparseSpSM_analysis Function
- musparseSpSM_solve Function
- musparseSpMM_ex Function
- musparseSpMM_legacy Function
- musparseSpMM_bufferSize Function
- musparseSpMM_preprocess Function
- musparseSpMM Function
- musparseSpMMOp_createPlan Function
- musparseSpMMOp Function
- musparseSpMMOp_destroyPlan Function
- musparseSpGEMM Function
- musparseSpGEMM_createDescr Function
- musparseSpGEMM_destroyDescr Function
- musparseSpGEMM_workEstimation Function
- musparseSpGEMM_getNumProducts Function
- musparseSpGEMM_estimateMemory Function
- musparseSpGEMM_compute Function
- musparseSpGEMM_copy Function
- musparseSpGEMMreuse_workEstimation Function
- musparseSpGEMMreuse_nnz Function
- musparseSpGEMMreuse_copy Function
- musparseSpGEMMreuse_compute Function
- musparseSDDMM Function
- musparseSDDMM_bufferSize Function
- musparseSDDMM_preprocess Function
Files
- musparse-auxiliary.h: musparse-auxiliary.h provides auxilary functions in musparse
- musparse-compatible.h
- musparse-functions.h: musparse-functions.h provides Sparse Linear Algebra Subprograms of Level 1, 2 and 3, using MUSA optimized for MT GPU hardware.
File musparse-auxiliary.h
Location: musparse-auxiliary.h
musparse-auxiliary.h provides auxilary functions in musparse
Includes
- <stdint.h>
- musparse-export.h
- musparse-types.h
Function musparseCreateCsr
MUSPARSE_EXPORT musparseStatus_t musparseCreateCsr(musparseSpMatDescr_t `descr, int64_t rows, int64_t cols, int64_t nnz, void `csr_row_ptr, void `csr_col_ind, void `csr_val, musparseIndexType_t row_ptr_type, musparseIndexType_t col_ind_type, musparseIndexBase_t idx_base, musparseDataType_t data_type)
Create a sparse CSR matrix descriptor.
musparseCreateCsr creates a sparse CSR matrix descriptor. It should be destroyed at the end using musparseDestroySpMat.
Parameters:
descr: the pointer to the sparse CSR matrix descriptor.rows: number of rows in the CSR matrix.cols: number of columns in the CSR matrixnnz: number of non-zeros in the CSR matrix.csr_row_ptr: row offsets of the CSR matrix (must be array of lengthrows+1).csr_col_ind: column indices of the CSR matrix (must be array of lengthnnz).csr_val: values of the CSR matrix (must be array of lengthnnz).row_ptr_type: MUSPARSE_INDEX_32I or MUSPARSE_INDEX_64I.col_ind_type: MUSPARSE_INDEX_32I or MUSPARSE_INDEX_64I.idx_base: MUSPARSE_INDEX_BASE_ZERO or MUSPARSE_INDEX_BASE_ONE.data_type: MUSA_R_32F, MUSA_R_64F, MUSA_C_32F or MUSA_C_64F.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER: ifdescrorcsr_row_ptrorcsr_col_indorcsr_valis invalid.MUSPARSE_STATUS_INVALID_SIZE: ifrowsorcolsornnzis invalid.MUSPARSE_STATUS_INVALID_VALUE: ifrow_ptr_typeorcol_ind_typeoridx_baseordata_typeis invalid.
Parameters:
musparseSpMatDescr_t descr
- int64_t
rows - int64_t
cols - int64_t
nnzvoidcsr_row_ptrvoidcsr_col_indvoidcsr_val - musparseIndexType_t
row_ptr_type - musparseIndexType_t
col_ind_type - musparseIndexBase_t
idx_base - musparseDataType_t
data_type
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCreateDnVec
MUSPARSE_EXPORT musparseStatus_t musparseCreateDnVec(musparseDnVecDescr_t `descr, int64_t size, void `values, musparseDataType_t data_type)
Create a dense vector descriptor.
musparseCreateDnVec creates a dense vector descriptor. It should be destroyed at the end using musparseDestroyDnVec.
Parameters:
descr: the pointer to the dense vector descriptor.size: size of the dense vector.values: non-zero values in the dense vector (must be array of lengthsize).data_type: MUSA_R_32F, MUSA_R_64F, MUSA_C_32F or MUSA_C_64F.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER: ifdescrorvaluesis invalid.MUSPARSE_STATUS_INVALID_SIZE: ifsizeis invalid.MUSPARSE_STATUS_INVALID_VALUE: ifdata_typeis invalid.
Parameters:
musparseDnVecDescr_t descr
- int64_t
sizevoidvalues - musparseDataType_t
data_type
Return type: MUSPARSE_EXPORT musparseStatus_t
Macros
Functions
Function musparseCreate
MUSPARSE_EXPORT musparseStatus_t musparseCreate(musparseHandle_t *handle)
Create a musparse handle.
musparseCreate creates the musparse library context. It must be initialized before any other musparse API function is invoked and must be passed to all subsequent library function calls. The handle should be destroyed at the end using musparseDestroy().
Parameters:
handle: the pointer to the handle to the musparse library context.
Return values:
MUSPARSE_STATUS_SUCCESS: the initialization succeeded.MUSPARSE_STATUS_INVALID_HANDLE:handlepointer is invalid.MUSPARSE_STATUS_INTERNAL_ERROR: an internal error occurred.
Parameters:
musparseHandle_t handle
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseDestroy
MUSPARSE_EXPORT musparseStatus_t musparseDestroy(musparseHandle_t handle)
Destroy a musparse handle.
musparseDestroy destroys the musparse library context and releases all resources used by the musparse library.
Parameters:
handle: the handle to the musparse library context.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_HANDLE:handleis invalid.MUSPARSE_STATUS_INTERNAL_ERROR: an internal error occurred.
Parameters:
- musparseHandle_t
handle
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseSetStream
MUSPARSE_EXPORT musparseStatus_t musparseSetStream(musparseHandle_t handle, musaStream_t stream)
Specify user defined MUSA stream.
musparseSetStream specifies the stream to be used by the musparse library context and all subsequent function calls.
Parameters:
handle: the handle to the musparse library context.stream: the stream to be used by the musparse library context.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_HANDLE:handleis invalid.
Example:
This example illustrates, how a user defined stream can be used in musparse.
// Create musparse handle
musparseHandle_t handle;
musparseCreate(&handle);
// Create stream
MUstream stream;
musaStreamCreate(&stream);
// Set stream to musparse handle
musparseSetStream(handle, stream);
// Do some work
// ...
// Clean up
musparseDestroy(handle);
musaStreamDestroy(stream);
Parameters:
- musparseHandle_t
handle - musaStream_t
stream
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetStream
MUSPARSE_EXPORT musparseStatus_t musparseGetStream(musparseHandle_t handle, musaStream_t *stream)
Get current stream from library context.
musparseGetStream gets the musparse library context stream which is currently used for all subsequent function calls.
Parameters:
handle: the handle to the musparse library context.stream: the stream currently used by the musparse library context.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_HANDLE:handleis invalid.
Parameters:
- musparseHandle_t
handlemusaStream_tstream
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseSetPointerMode
MUSPARSE_EXPORT musparseStatus_t musparseSetPointerMode(musparseHandle_t handle, musparsePointerMode_t pointer_mode)
Specify pointer mode.
musparseSetPointerMode specifies the pointer mode to be used by the musparse library context and all subsequent function calls. By default, all values are passed by reference on the host. Valid pointer modes are MUSPARSE_POINTER_MODE_HOST or MUSPARSE_POINTER_MODE_DEVICE.
Parameters:
handle: the handle to the musparse library context.pointer_mode: the pointer mode to be used by the musparse library context.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_HANDLE:handleis invalid.
Parameters:
- musparseHandle_t
handle - musparsePointerMode_t
pointer_mode
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetPointerMode
MUSPARSE_EXPORT musparseStatus_t musparseGetPointerMode(musparseHandle_t handle, musparsePointerMode_t *pointer_mode)
Get current pointer mode from library context.
musparseGetPointerMode gets the musparse library context pointer mode which is currently used for all subsequent function calls.
Parameters:
handle: the handle to the musparse library context.pointer_mode: the pointer mode that is currently used by the musparse library context.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_HANDLE:handleis invalid.
Parameters:
- musparseHandle_t
handlemusparsePointerMode_tpointer_mode
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetVersion
MUSPARSE_EXPORT musparseStatus_t musparseGetVersion(musparseHandle_t handle, int *version)
Get musparse version.
musparseGetVersion gets the musparse library version number.
-
patch = version % 100
-
minor = version / 100 % 1000
-
major = version / 100000
Parameters:
handle: the handle to the musparse library context.version: the version number of the musparse library.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_HANDLE:handleis invalid.
Parameters:
- musparseHandle_t
handleintversion
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetGitRev
MUSPARSE_EXPORT musparseStatus_t musparseGetGitRev(musparseHandle_t handle, char *rev)
Get musparse git revision.
musparseGetGitRev gets the musparse library git commit revision (SHA-1).
Parameters:
handle: the handle to the musparse library context.rev: the git commit revision (SHA-1).
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_HANDLE:handleis invalid.
Parameters:
- musparseHandle_t
handlecharrev
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCreateMatDescr
MUSPARSE_EXPORT musparseStatus_t musparseCreateMatDescr(musparseMatDescr_t *descr)
Create a matrix descriptor.
musparseCreateMatDescr creates a matrix descriptor. It initializes musparseMatrixType_t to MUSPARSE_MATRIX_TYPE_GENERAL and musparseIndexBase_t to MUSPARSE_INDEX_BASE_ZERO. It should be destroyed at the end using musparseDestroyMatDescr().
Parameters:
descr: the pointer to the matrix descriptor.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:descrpointer is invalid.
Parameters:
musparseMatDescr_t descr
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCopyMatDescr
MUSPARSE_EXPORT musparseStatus_t musparseCopyMatDescr(musparseMatDescr_t dest, const musparseMatDescr_t src)
Copy a matrix descriptor.
musparseCopyMatDescr copies a matrix descriptor. Both, source and destination matrix descriptors must be initialized prior to calling musparseCopyMatDescr.
Parameters:
dest: the pointer to the destination matrix descriptor.src: the pointer to the source matrix descriptor.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:srcordestpointer is invalid.
Parameters:
- musparseMatDescr_t
dest - const musparseMatDescr_t
src
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseDestroyMatDescr
MUSPARSE_EXPORT musparseStatus_t musparseDestroyMatDescr(musparseMatDescr_t descr)
Destroy a matrix descriptor.
musparseDestroyMatDescr destroys a matrix descriptor and releases all resources used by the descriptor.
Parameters:
descr: the matrix descriptor.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:descris invalid.
Parameters:
- musparseMatDescr_t
descr
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseSetMatIndexBase
MUSPARSE_EXPORT musparseStatus_t musparseSetMatIndexBase(musparseMatDescr_t descr, musparseIndexBase_t base)
Specify the index base of a matrix descriptor.
musparseSetMatIndexBase sets the index base of a matrix descriptor. Valid options are MUSPARSE_INDEX_BASE_ZERO or MUSPARSE_INDEX_BASE_ONE.
Parameters:
descr: the matrix descriptor.base: MUSPARSE_INDEX_BASE_ZERO or MUSPARSE_INDEX_BASE_ONE.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:descrpointer is invalid.MUSPARSE_STATUS_INVALID_VALUE:baseis invalid.
Parameters:
- musparseMatDescr_t
descr - musparseIndexBase_t
base
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetMatIndexBase
MUSPARSE_EXPORT musparseIndexBase_t musparseGetMatIndexBase(const musparseMatDescr_t descr)
Get the index base of a matrix descriptor.
musparseGetMatIndexBase returns the index base of a matrix descriptor.
Parameters:
descr: the matrix descriptor.
Returns:
MUSPARSE_INDEX_BASE_ZERO or MUSPARSE_INDEX_BASE_ONE.
Parameters:
- const musparseMatDescr_t
descr
Return type: MUSPARSE_EXPORT musparseIndexBase_t
Function musparseSetMatType
MUSPARSE_EXPORT musparseStatus_t musparseSetMatType(musparseMatDescr_t descr, musparseMatrixType_t type)
Specify the matrix type of a matrix descriptor.
musparseSetMatType sets the matrix type of a matrix descriptor. Valid matrix types are MUSPARSE_MATRIX_TYPE_GENERAL, MUSPARSE_MATRIX_TYPE_SYMMETRIC, MUSPARSE_MATRIX_TYPE_HERMITIAN or MUSPARSE_MATRIX_TYPE_TRIANGULAR.
Parameters:
descr: the matrix descriptor.type: MUSPARSE_MATRIX_TYPE_GENERAL, MUSPARSE_MATRIX_TYPE_SYMMETRIC, MUSPARSE_MATRIX_TYPE_HERMITIAN or MUSPARSE_MATRIX_TYPE_TRIANGULAR.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:descrpointer is invalid.MUSPARSE_STATUS_INVALID_VALUE:typeis invalid.
Parameters:
- musparseMatDescr_t
descr - musparseMatrixType_t
type
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetMatType
MUSPARSE_EXPORT musparseMatrixType_t musparseGetMatType(const musparseMatDescr_t descr)
Get the matrix type of a matrix descriptor.
musparseGetMatType returns the matrix type of a matrix descriptor.
Parameters:
descr: the matrix descriptor.
Returns:
MUSPARSE_MATRIX_TYPE_GENERAL, MUSPARSE_MATRIX_TYPE_SYMMETRIC, MUSPARSE_MATRIX_TYPE_HERMITIAN or MUSPARSE_MATRIX_TYPE_TRIANGULAR.
Parameters:
- const musparseMatDescr_t
descr
Return type: MUSPARSE_EXPORT musparseMatrixType_t
Function musparseSetMatFillMode
MUSPARSE_EXPORT musparseStatus_t musparseSetMatFillMode(musparseMatDescr_t descr, musparseFillMode_t fill_mode)
Specify the matrix fill mode of a matrix descriptor.
musparseSetMatFillMode sets the matrix fill mode of a matrix descriptor. Valid fill modes are MUSPARSE_FILL_MODE_LOWER or MUSPARSE_FILL_MODE_UPPER.
Parameters:
descr: the matrix descriptor.fill_mode: MUSPARSE_FILL_MODE_LOWER or MUSPARSE_FILL_MODE_UPPER.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:descrpointer is invalid.MUSPARSE_STATUS_INVALID_VALUE:fill_modeis invalid.
Parameters:
- musparseMatDescr_t
descr - musparseFillMode_t
fill_mode
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetMatFillMode
MUSPARSE_EXPORT musparseFillMode_t musparseGetMatFillMode(const musparseMatDescr_t descr)
Get the matrix fill mode of a matrix descriptor.
musparseGetMatFillMode returns the matrix fill mode of a matrix descriptor.
Parameters:
descr: the matrix descriptor.
Returns:
MUSPARSE_FILL_MODE_LOWER or MUSPARSE_FILL_MODE_UPPER.
Parameters:
- const musparseMatDescr_t
descr
Return type: MUSPARSE_EXPORT musparseFillMode_t
Function musparseSetMatDiagType
MUSPARSE_EXPORT musparseStatus_t musparseSetMatDiagType(musparseMatDescr_t descr, musparseDiagType_t diag_type)
Specify the matrix diagonal type of a matrix descriptor.
musparseSetMatDiagType sets the matrix diagonal type of a matrix descriptor. Valid diagonal types are MUSPARSE_DIAG_TYPE_UNIT or MUSPARSE_DIAG_TYPE_NON_UNIT.
Parameters:
descr: the matrix descriptor.diag_type: MUSPARSE_DIAG_TYPE_UNIT or MUSPARSE_DIAG_TYPE_NON_UNIT.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:descrpointer is invalid.MUSPARSE_STATUS_INVALID_VALUE:diag_typeis invalid.
Parameters:
- musparseMatDescr_t
descr - musparseDiagType_t
diag_type
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetMatDiagType
MUSPARSE_EXPORT musparseDiagType_t musparseGetMatDiagType(const musparseMatDescr_t descr)
Get the matrix diagonal type of a matrix descriptor.
musparseGetMatDiagType returns the matrix diagonal type of a matrix descriptor.
Parameters:
descr: the matrix descriptor.
Returns:
MUSPARSE_DIAG_TYPE_UNIT or MUSPARSE_DIAG_TYPE_NON_UNIT.
Parameters:
- const musparseMatDescr_t
descr
Return type: MUSPARSE_EXPORT musparseDiagType_t
Function musparseSetMatStorageMode
MUSPARSE_EXPORT musparseStatus_t musparseSetMatStorageMode(musparseMatDescr_t descr, musparseStorageMode_t storage_mode)
Specify the matrix storage mode of a matrix descriptor.
musparseSetMatStorageMode sets the matrix storage mode of a matrix descriptor. Valid fill modes are MUSPARSE_STORAGE_MODE_SORTED or MUSPARSE_STORAGE_MODE_UNSORTED.
Parameters:
descr: the matrix descriptor.storage_mode: MUSPARSE_STORAGE_MODE_SORTED or MUSPARSE_STORAGE_MODE_UNSORTED.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:descrpointer is invalid.MUSPARSE_STATUS_INVALID_VALUE:storage_modeis invalid.
Parameters:
- musparseMatDescr_t
descr - musparseStorageMode_t
storage_mode
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseGetMatStorageMode
MUSPARSE_EXPORT musparseStorageMode_t musparseGetMatStorageMode(const musparseMatDescr_t descr)
Get the matrix storage mode of a matrix descriptor.
musparseGetMatStorageMode returns the matrix storage mode of a matrix descriptor.
Parameters:
descr: the matrix descriptor.
Returns:
MUSPARSE_STORAGE_MODE_SORTED or MUSPARSE_STORAGE_MODE_UNSORTED.
Parameters:
- const musparseMatDescr_t
descr
Return type: MUSPARSE_EXPORT musparseStorageMode_t
Function musparseCreateHybMat
MUSPARSE_EXPORT musparseStatus_t musparseCreateHybMat(musparseHybMat_t *hyb)
Create a HYB matrix structure.
musparseCreateHybMat creates a structure that holds the matrix in HYB storage format. It should be destroyed at the end using musparseDestroyHybMat().
Parameters:
hyb: the pointer to the hybrid matrix.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:hybpointer is invalid.
Parameters:
musparseHybMat_t hyb
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCopyHybMat
MUSPARSE_EXPORT musparseStatus_t musparseCopyHybMat(musparseHybMat_t dest, const musparseHybMat_t src)
Copy a HYB matrix structure.
musparseCopyHybMat copies a matrix info structure. Both, source and destination matrix info structure must be initialized prior to calling musparseCopyHybMat.
Parameters:
dest: the pointer to the destination matrix info structure.src: the pointer to the source matrix info structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:hybpointer is invalid.
Parameters:
- musparseHybMat_t
dest - const musparseHybMat_t
src
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseDestroyHybMat
MUSPARSE_EXPORT musparseStatus_t musparseDestroyHybMat(musparseHybMat_t hyb)
Destroy a HYB matrix structure.
musparseDestroyHybMat destroys a HYB structure.
Parameters:
hyb: the hybrid matrix structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:hybpointer is invalid.MUSPARSE_STATUS_INTERNAL_ERROR: an internal error occurred.
Parameters:
- musparseHybMat_t
hyb
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCreateMatInfo
MUSPARSE_EXPORT musparseStatus_t musparseCreateMatInfo(musparseMatInfo_t *info)
Create a matrix info structure.
musparseCreateMatInfo creates a structure that holds the matrix info data that is gathered during the analysis routines available. It should be destroyed at the end using musparseDestroyMatInfo().
Parameters:
info: the pointer to the info structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:infopointer is invalid.
Parameters:
musparseMatInfo_t info
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCopyMatInfo
MUSPARSE_EXPORT musparseStatus_t musparseCopyMatInfo(musparseMatInfo_t dest, const musparseMatInfo_t src)
Copy a matrix info structure.
musparseCopyMatInfo copies a matrix info structure. Both, source and destination matrix info structure must be initialized prior to calling musparseCopyMatInfo.
Parameters:
dest: the pointer to the destination matrix info structure.src: the pointer to the source matrix info structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:srcordestpointer is invalid.
Parameters:
- musparseMatInfo_t
dest - const musparseMatInfo_t
src
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseDestroyMatInfo
MUSPARSE_EXPORT musparseStatus_t musparseDestroyMatInfo(musparseMatInfo_t info)
Destroy a matrix info structure.
musparseDestroyMatInfo destroys a matrix info structure.
Parameters:
info: the info structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:infopointer is invalid.MUSPARSE_STATUS_INTERNAL_ERROR: an internal error occurred.
Parameters:
- musparseMatInfo_t
info
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCreateColorInfo
MUSPARSE_EXPORT musparseStatus_t musparseCreateColorInfo(musparseColorInfo_t *info)
Create a color info structure.
musparseCreateColorInfo creates a structure that holds the color info data that is gathered during the analysis routines available. It should be destroyed at the end using musparseDestroyColorInfo().
Parameters:
info: the pointer to the info structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:infopointer is invalid.
Parameters:
musparseColorInfo_t info
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCopyColorInfo
MUSPARSE_EXPORT musparseStatus_t musparseCopyColorInfo(musparseColorInfo_t dest, const musparseColorInfo_t src)
Copy a color info structure.
musparseCopyColorInfo copies a color info structure. Both, source and destination color info structure must be initialized prior to calling musparseCopyColorInfo.
Parameters:
dest: the pointer to the destination color info structure.src: the pointer to the source color info structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:srcordestpointer is invalid.
Parameters:
- musparseColorInfo_t
dest - const musparseColorInfo_t
src
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseDestroyColorInfo
MUSPARSE_EXPORT musparseStatus_t musparseDestroyColorInfo(musparseColorInfo_t info)
Destroy a color info structure.
musparseDestroyColorInfo destroys a color info structure.
Parameters:
info: the info structure.
Return values:
MUSPARSE_STATUS_SUCCESS: the operation completed successfully.MUSPARSE_STATUS_INVALID_POINTER:infopointer is invalid.MUSPARSE_STATUS_INTERNAL_ERROR: an internal error occurred.
Parameters:
- musparseColorInfo_t
info
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCreateSpVec
MUSPARSE_EXPORT musparseStatus_t musparseCreateSpVec(musparseSpVecDescr_t `descr, int64_t size, int64_t nnz, void `indices, void *values, musparseIndexType_t idx_type, musparseIndexBase_t idx_base, musparseDataType_t data_type)
Parameters:
musparseSpVecDescr_t descr
- int64_t
size - int64_t
nnzvoidindicesvoidvalues - musparseIndexType_t
idx_type - musparseIndexBase_t
idx_base - musparseDataType_t
data_type
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseCreateConstSpVec
MUSPARSE_EXPORT musparseStatus_t musparseCreateConstSpVec(musparseConstSpVecDescr_t `descr, int64_t size, int64_t nnz, const void `indices, const void *values, musparseIndexType_t idx_type, musparseIndexBase_t idx_base, musparseDataType_t data_type)
Parameters:
musparseConstSpVecDescr_t descr
- int64_t
size - int64_t
nnzconst voidindicesconst voidvalues - musparseIndexType_t
idx_type - musparseIndexBase_t
idx_base - musparseDataType_t
data_type
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseDestroySpVec
MUSPARSE_EXPORT musparseStatus_t musparseDestroySpVec(musparseConstSpVecDescr_t descr)
Parameters:
- musparseConstSpVecDescr_t
descr
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseSpVecGet
MUSPARSE_EXPORT musparseStatus_t musparseSpVecGet(musparseSpVecDescr_t descr, int64_t `size, int64_t `nnz, void `indices, void `values, musparseIndexType_t `idx_type, musparseIndexBase_t `idx_base, musparseDataType_t *data_type)
Parameters:
- musparseSpVecDescr_t
descrint64_tsizeint64_tnnzvoidindices*voidvalues*musparseIndexType_tidx_typemusparseIndexBase_tidx_basemusparseDataType_tdata_type
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseSpVecGetIndexBase
MUSPARSE_EXPORT musparseStatus_t musparseSpVecGetIndexBase(musparseConstSpVecDescr_t descr, musparseIndexBase_t *idx_base)
Parameters:
- musparseConstSpVecDescr_t
descrmusparseIndexBase_tidx_base
Return type: MUSPARSE_EXPORT musparseStatus_t
Function musparseSpVecGetValues
MUSPARSE_EXPORT musparseStatus_t musparseSpVecGetValues(musparseSpVecDescr_t descr, void ``values)
Parameters:
- musparseSpVecDescr_t
descrvoidvalues*
Return type: MUSPARSE_EXPORT musparseStatus_t