Files
rustytorch/cudarc/cusparse.md
T
2026-03-04 00:08:42 +00:00

615 lines
15 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
cudarc::cusparse::result
Summary
pub fn create() -> Result<cusparseHandle_t, CusparseError>
See cuda docs
-----------------------
cudarc::cusparse::result
Struct CusparseError Copy item path
Source
Search
Settings
Help
Summary
pub struct CusparseError(pub cusparseStatus_t);
Wrapper around [sys::CUresult]. See nvidias CUresult docs
Tuple Fields
0: cusparseStatus_t
Trait Implementations
Source
impl Clone for CusparseError
Source
fn clone(&self) -> CusparseError
Returns a duplicate of the value. Read more
1.0.0 · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Source
impl Debug for CusparseError
Source
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more
Source
impl PartialEq for CusparseError
Source
fn eq(&self, other: &CusparseError) -> bool
Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source
fn ne(&self, other: &Rhs) -> bool
Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source
impl Copy for CusparseError
Source
impl Eq for CusparseError
Source
impl StructuralPartialEq for CusparseError
Auto Trait Implementations
impl Freeze for CusparseError
impl RefUnwindSafe for CusparseError
impl Send for CusparseError
impl Sync for CusparseError
impl Unpin for CusparseError
impl UnwindSafe for CusparseError
Blanket Implementations
Source
impl<T> Any for T
where
T: 'static + ?Sized,
Source
impl<T> Borrow<T> for T
where
T: ?Sized,
Source
impl<T> BorrowMut<T> for T
where
T: ?Sized,
Source
impl<T> CloneToUninit for T
where
T: Clone,
Source
impl<T> From<T> for T
Source
impl<T, U> Into<U> for T
where
U: From<T>,
Source
impl<T> ToOwned for T
where
T: Clone,
Source
impl<T, U> TryFrom<U> for T
where
U: Into<T>,
Source
impl<T, U> TryInto<U> for T
where
U: TryFrom<T>,
Source
impl<V, T> VZip<V> for T
where
V: MultiLane<T>,
---------------------------------
cudarc::cusparse
Module sys Copy item path
Source
Search
Settings
Help
Summary
Re-exports
pub use self::cudaDataType_t as cudaDataType;
pub use self::libraryPropertyType_t as libraryPropertyType;
Structs
CUstream_st
Lib
_IO_FILE
_IO_codecvt
_IO_marker
_IO_wide_data
bsric02Info
bsrilu02Info
bsrsm2Info
bsrsv2Info
csric02Info
csrilu02Info
csru2csrInfo
cusparseColorInfo
cusparseContext
cusparseDnMatDescr
cusparseDnVecDescr
cusparseMatDescr
cusparseSpGEMMDescr
cusparseSpMMOpPlan
cusparseSpMatDescr
cusparseSpSMDescr
cusparseSpSVDescr
cusparseSpVecDescr
double2
float2
pruneInfo
Enums
cudaDataType_t
cusparseAction_t
cusparseColorAlg_t
cusparseCsr2CscAlg_t
cusparseDenseToSparseAlg_t
cusparseDiagType_t
cusparseDirection_t
cusparseFillMode_t
cusparseFormat_t
cusparseIndexBase_t
cusparseIndexType_t
cusparseMatrixType_t
cusparseOperation_t
cusparseOrder_t
cusparsePointerMode_t
cusparseSDDMMAlg_t
cusparseSolvePolicy_t
cusparseSpGEMMAlg_t
cusparseSpMMAlg_t
cusparseSpMMOpAlg_t
cusparseSpMVAlg_t
cusparseSpMatAttribute_t
cusparseSpSMAlg_t
cusparseSpSMUpdate_t
cusparseSpSVAlg_t
cusparseSpSVUpdate_t
cusparseSparseToDenseAlg_t
cusparseStatus_t
libraryPropertyType_t
Functions
culib⚠
cusparseAxpby⚠
cusparseBlockedEllGet⚠
cusparseBsrSetStridedBatch⚠
cusparseCbsr2csr⚠
cusparseCbsric02⚠
cusparseCbsric02_analysis⚠
cusparseCbsric02_bufferSize⚠
cusparseCbsrilu02⚠
cusparseCbsrilu02_analysis⚠
cusparseCbsrilu02_bufferSize⚠
cusparseCbsrilu02_numericBoost⚠
cusparseCbsrmm⚠
cusparseCbsrmv⚠
cusparseCbsrsm2_analysis⚠
cusparseCbsrsm2_bufferSize⚠
cusparseCbsrsm2_solve⚠
cusparseCbsrsv2_analysis⚠
cusparseCbsrsv2_bufferSize⚠
cusparseCbsrsv2_solve⚠
cusparseCbsrxmv⚠
cusparseCcsr2bsr⚠
cusparseCcsr2csr_compress⚠
cusparseCcsr2csru⚠
cusparseCcsr2gebsr⚠
cusparseCcsr2gebsr_bufferSize⚠
cusparseCcsrcolor⚠
cusparseCcsrgeam2⚠
cusparseCcsrgeam2_bufferSizeExt⚠
cusparseCcsric02⚠
cusparseCcsric02_analysis⚠
cusparseCcsric02_bufferSize⚠
cusparseCcsrilu02⚠
cusparseCcsrilu02_analysis⚠
cusparseCcsrilu02_bufferSize⚠
cusparseCcsrilu02_numericBoost⚠
cusparseCcsru2csr⚠
cusparseCcsru2csr_bufferSizeExt⚠
cusparseCgebsr2csr⚠
cusparseCgebsr2gebsc⚠
cusparseCgebsr2gebsc_bufferSize⚠
cusparseCgebsr2gebsr⚠
cusparseCgebsr2gebsr_bufferSize⚠
cusparseCgemvi⚠
cusparseCgemvi_bufferSize⚠
cusparseCgpsvInterleavedBatch⚠
cusparseCgpsvInterleavedBatch_bufferSizeExt⚠
cusparseCgtsv2⚠
cusparseCgtsv2StridedBatch⚠
cusparseCgtsv2StridedBatch_bufferSizeExt⚠
cusparseCgtsv2_bufferSizeExt⚠
cusparseCgtsv2_nopivot⚠
cusparseCgtsv2_nopivot_bufferSizeExt⚠
cusparseCgtsvInterleavedBatch⚠
cusparseCgtsvInterleavedBatch_bufferSizeExt⚠
cusparseCnnz⚠
cusparseCnnz_compress⚠
cusparseConstBlockedEllGet⚠
cusparseConstCooGet⚠
cusparseConstCscGet⚠
cusparseConstCsrGet⚠
cusparseConstDnMatGet⚠
cusparseConstDnMatGetValues⚠
cusparseConstDnVecGet⚠
cusparseConstDnVecGetValues⚠
cusparseConstSpMatGetValues⚠
cusparseConstSpVecGet⚠
cusparseConstSpVecGetValues⚠
cusparseCooGet⚠
cusparseCooSetPointers⚠
cusparseCooSetStridedBatch⚠
cusparseCreate⚠
cusparseCreateBlockedEll⚠
cusparseCreateBsr⚠
cusparseCreateBsric02Info⚠
cusparseCreateBsrilu02Info⚠
cusparseCreateBsrsm2Info⚠
cusparseCreateBsrsv2Info⚠
cusparseCreateColorInfo⚠
cusparseCreateConstBlockedEll⚠
cusparseCreateConstBsr⚠
cusparseCreateConstCoo⚠
cusparseCreateConstCsc⚠
cusparseCreateConstCsr⚠
cusparseCreateConstDnMat⚠
cusparseCreateConstDnVec⚠
cusparseCreateConstSlicedEll⚠
cusparseCreateConstSpVec⚠
cusparseCreateCoo⚠
cusparseCreateCsc⚠
cusparseCreateCsr⚠
cusparseCreateCsric02Info⚠
cusparseCreateCsrilu02Info⚠
cusparseCreateCsru2csrInfo⚠
cusparseCreateDnMat⚠
cusparseCreateDnVec⚠
cusparseCreateIdentityPermutation⚠
cusparseCreateMatDescr⚠
cusparseCreatePruneInfo⚠
cusparseCreateSlicedEll⚠
cusparseCreateSpVec⚠
cusparseCscGet⚠
cusparseCscSetPointers⚠
cusparseCsr2cscEx2⚠
cusparseCsr2cscEx2_bufferSize⚠
cusparseCsrGet⚠
cusparseCsrSetPointers⚠
cusparseCsrSetStridedBatch⚠
cusparseDbsr2csr⚠
cusparseDbsric02⚠
cusparseDbsric02_analysis⚠
cusparseDbsric02_bufferSize⚠
cusparseDbsrilu02⚠
cusparseDbsrilu02_analysis⚠
cusparseDbsrilu02_bufferSize⚠
cusparseDbsrilu02_numericBoost⚠
cusparseDbsrmm⚠
cusparseDbsrmv⚠
cusparseDbsrsm2_analysis⚠
cusparseDbsrsm2_bufferSize⚠
cusparseDbsrsm2_solve⚠
cusparseDbsrsv2_analysis⚠
cusparseDbsrsv2_bufferSize⚠
cusparseDbsrsv2_solve⚠
cusparseDbsrxmv⚠
cusparseDcsr2bsr⚠
cusparseDcsr2csr_compress⚠
cusparseDcsr2csru⚠
cusparseDcsr2gebsr⚠
cusparseDcsr2gebsr_bufferSize⚠
cusparseDcsrcolor⚠
cusparseDcsrgeam2⚠
cusparseDcsrgeam2_bufferSizeExt⚠
cusparseDcsric02⚠
cusparseDcsric02_analysis⚠
cusparseDcsric02_bufferSize⚠
cusparseDcsrilu02⚠
cusparseDcsrilu02_analysis⚠
cusparseDcsrilu02_bufferSize⚠
cusparseDcsrilu02_numericBoost⚠
cusparseDcsru2csr⚠
cusparseDcsru2csr_bufferSizeExt⚠
cusparseDenseToSparse_analysis⚠
cusparseDenseToSparse_bufferSize⚠
cusparseDenseToSparse_convert⚠
cusparseDestroy⚠
cusparseDestroyBsric02Info⚠
cusparseDestroyBsrilu02Info⚠
cusparseDestroyBsrsm2Info⚠
cusparseDestroyBsrsv2Info⚠
cusparseDestroyColorInfo⚠
cusparseDestroyCsric02Info⚠
cusparseDestroyCsrilu02Info⚠
cusparseDestroyCsru2csrInfo⚠
cusparseDestroyDnMat⚠
cusparseDestroyDnVec⚠
cusparseDestroyMatDescr⚠
cusparseDestroyPruneInfo⚠
cusparseDestroySpMat⚠
cusparseDestroySpVec⚠
cusparseDgebsr2csr⚠
cusparseDgebsr2gebsc⚠
cusparseDgebsr2gebsc_bufferSize⚠
cusparseDgebsr2gebsr⚠
cusparseDgebsr2gebsr_bufferSize⚠
cusparseDgemvi⚠
cusparseDgemvi_bufferSize⚠
cusparseDgpsvInterleavedBatch⚠
cusparseDgpsvInterleavedBatch_bufferSizeExt⚠
cusparseDgtsv2⚠
cusparseDgtsv2StridedBatch⚠
cusparseDgtsv2StridedBatch_bufferSizeExt⚠
cusparseDgtsv2_bufferSizeExt⚠
cusparseDgtsv2_nopivot⚠
cusparseDgtsv2_nopivot_bufferSizeExt⚠
cusparseDgtsvInterleavedBatch⚠
cusparseDgtsvInterleavedBatch_bufferSizeExt⚠
cusparseDnMatGet⚠
cusparseDnMatGetStridedBatch⚠
cusparseDnMatGetValues⚠
cusparseDnMatSetStridedBatch⚠
cusparseDnMatSetValues⚠
cusparseDnVecGet⚠
cusparseDnVecGetValues⚠
cusparseDnVecSetValues⚠
cusparseDnnz⚠
cusparseDnnz_compress⚠
cusparseDpruneCsr2csr⚠
cusparseDpruneCsr2csrByPercentage⚠
cusparseDpruneCsr2csrByPercentage_bufferSizeExt⚠
cusparseDpruneCsr2csrNnz⚠
cusparseDpruneCsr2csrNnzByPercentage⚠
cusparseDpruneCsr2csr_bufferSizeExt⚠
cusparseDpruneDense2csr⚠
cusparseDpruneDense2csrByPercentage⚠
cusparseDpruneDense2csrByPercentage_bufferSizeExt⚠
cusparseDpruneDense2csrNnz⚠
cusparseDpruneDense2csrNnzByPercentage⚠
cusparseDpruneDense2csr_bufferSizeExt⚠
cusparseGather⚠
cusparseGetErrorName⚠
cusparseGetErrorString⚠
cusparseGetMatDiagType⚠
cusparseGetMatFillMode⚠
cusparseGetMatIndexBase⚠
cusparseGetMatType⚠
cusparseGetPointerMode⚠
cusparseGetProperty⚠
cusparseGetStream⚠
cusparseGetVersion⚠
cusparseLoggerForceDisable⚠
cusparseLoggerOpenFile⚠
cusparseLoggerSetCallback⚠
cusparseLoggerSetFile⚠
cusparseLoggerSetLevel⚠
cusparseLoggerSetMask⚠
cusparseRot⚠
cusparseSDDMM⚠
cusparseSDDMM_bufferSize⚠
cusparseSDDMM_preprocess⚠
cusparseSbsr2csr⚠
cusparseSbsric02⚠
cusparseSbsric02_analysis⚠
cusparseSbsric02_bufferSize⚠
cusparseSbsrilu02⚠
cusparseSbsrilu02_analysis⚠
cusparseSbsrilu02_bufferSize⚠
cusparseSbsrilu02_numericBoost⚠
cusparseSbsrmm⚠
cusparseSbsrmv⚠
cusparseSbsrsm2_analysis⚠
cusparseSbsrsm2_bufferSize⚠
cusparseSbsrsm2_solve⚠
cusparseSbsrsv2_analysis⚠
cusparseSbsrsv2_bufferSize⚠
cusparseSbsrsv2_solve⚠
cusparseSbsrxmv⚠
cusparseScatter⚠
cusparseScsr2bsr⚠
cusparseScsr2csr_compress⚠
cusparseScsr2csru⚠
cusparseScsr2gebsr⚠
cusparseScsr2gebsr_bufferSize⚠
cusparseScsrcolor⚠
cusparseScsrgeam2⚠
cusparseScsrgeam2_bufferSizeExt⚠
cusparseScsric02⚠
cusparseScsric02_analysis⚠
cusparseScsric02_bufferSize⚠
cusparseScsrilu02⚠
cusparseScsrilu02_analysis⚠
cusparseScsrilu02_bufferSize⚠
cusparseScsrilu02_numericBoost⚠
cusparseScsru2csr⚠
cusparseScsru2csr_bufferSizeExt⚠
cusparseSetMatDiagType⚠
cusparseSetMatFillMode⚠
cusparseSetMatIndexBase⚠
cusparseSetMatType⚠
cusparseSetPointerMode⚠
cusparseSetStream⚠
cusparseSgebsr2csr⚠
cusparseSgebsr2gebsc⚠
cusparseSgebsr2gebsc_bufferSize⚠
cusparseSgebsr2gebsr⚠
cusparseSgebsr2gebsr_bufferSize⚠
cusparseSgemvi⚠
cusparseSgemvi_bufferSize⚠
cusparseSgpsvInterleavedBatch⚠
cusparseSgpsvInterleavedBatch_bufferSizeExt⚠
cusparseSgtsv2⚠
cusparseSgtsv2StridedBatch⚠
cusparseSgtsv2StridedBatch_bufferSizeExt⚠
cusparseSgtsv2_bufferSizeExt⚠
cusparseSgtsv2_nopivot⚠
cusparseSgtsv2_nopivot_bufferSizeExt⚠
cusparseSgtsvInterleavedBatch⚠
cusparseSgtsvInterleavedBatch_bufferSizeExt⚠
cusparseSnnz⚠
cusparseSnnz_compress⚠
cusparseSpGEMM_compute⚠
cusparseSpGEMM_copy⚠
cusparseSpGEMM_createDescr⚠
cusparseSpGEMM_destroyDescr⚠
cusparseSpGEMM_estimateMemory⚠
cusparseSpGEMM_getNumProducts⚠
cusparseSpGEMM_workEstimation⚠
cusparseSpGEMMreuse_compute⚠
cusparseSpGEMMreuse_copy⚠
cusparseSpGEMMreuse_nnz⚠
cusparseSpGEMMreuse_workEstimation⚠
cusparseSpMM⚠
cusparseSpMMOp⚠
cusparseSpMMOp_createPlan⚠
cusparseSpMMOp_destroyPlan⚠
cusparseSpMM_bufferSize⚠
cusparseSpMM_preprocess⚠
cusparseSpMV⚠
cusparseSpMV_bufferSize⚠
cusparseSpMV_preprocess⚠
cusparseSpMatGetAttribute⚠
cusparseSpMatGetFormat⚠
cusparseSpMatGetIndexBase⚠
cusparseSpMatGetSize⚠
cusparseSpMatGetStridedBatch⚠
cusparseSpMatGetValues⚠
cusparseSpMatSetAttribute⚠
cusparseSpMatSetValues⚠
cusparseSpSM_analysis⚠
cusparseSpSM_bufferSize⚠
cusparseSpSM_createDescr⚠
cusparseSpSM_destroyDescr⚠
cusparseSpSM_solve⚠
cusparseSpSM_updateMatrix⚠
cusparseSpSV_analysis⚠
cusparseSpSV_bufferSize⚠
cusparseSpSV_createDescr⚠
cusparseSpSV_destroyDescr⚠
cusparseSpSV_solve⚠
cusparseSpSV_updateMatrix⚠
cusparseSpVV⚠
cusparseSpVV_bufferSize⚠
cusparseSpVecGet⚠
cusparseSpVecGetIndexBase⚠
cusparseSpVecGetValues⚠
cusparseSpVecSetValues⚠
cusparseSparseToDense⚠
cusparseSparseToDense_bufferSize⚠
cusparseSpruneCsr2csr⚠
cusparseSpruneCsr2csrByPercentage⚠
cusparseSpruneCsr2csrByPercentage_bufferSizeExt⚠
cusparseSpruneCsr2csrNnz⚠
cusparseSpruneCsr2csrNnzByPercentage⚠
cusparseSpruneCsr2csr_bufferSizeExt⚠
cusparseSpruneDense2csr⚠
cusparseSpruneDense2csrByPercentage⚠
cusparseSpruneDense2csrByPercentage_bufferSizeExt⚠
cusparseSpruneDense2csrNnz⚠
cusparseSpruneDense2csrNnzByPercentage⚠
cusparseSpruneDense2csr_bufferSizeExt⚠
cusparseXbsric02_zeroPivot⚠
cusparseXbsrilu02_zeroPivot⚠
cusparseXbsrsm2_zeroPivot⚠
cusparseXbsrsv2_zeroPivot⚠
cusparseXcoo2csr⚠
cusparseXcoosortByColumn⚠
cusparseXcoosortByRow⚠
cusparseXcoosort_bufferSizeExt⚠
cusparseXcscsort⚠
cusparseXcscsort_bufferSizeExt⚠
cusparseXcsr2bsrNnz⚠
cusparseXcsr2coo⚠
cusparseXcsr2gebsrNnz⚠
cusparseXcsrgeam2Nnz⚠
cusparseXcsric02_zeroPivot⚠
cusparseXcsrilu02_zeroPivot⚠
cusparseXcsrsort⚠
cusparseXcsrsort_bufferSizeExt⚠
cusparseXgebsr2gebsrNnz⚠
cusparseZbsr2csr⚠
cusparseZbsric02⚠
cusparseZbsric02_analysis⚠
cusparseZbsric02_bufferSize⚠
cusparseZbsrilu02⚠
cusparseZbsrilu02_analysis⚠
cusparseZbsrilu02_bufferSize⚠
cusparseZbsrilu02_numericBoost⚠
cusparseZbsrmm⚠
cusparseZbsrmv⚠
cusparseZbsrsm2_analysis⚠
cusparseZbsrsm2_bufferSize⚠
cusparseZbsrsm2_solve⚠
cusparseZbsrsv2_analysis⚠
cusparseZbsrsv2_bufferSize⚠
cusparseZbsrsv2_solve⚠
cusparseZbsrxmv⚠
cusparseZcsr2bsr⚠
cusparseZcsr2csr_compress⚠
cusparseZcsr2csru⚠
cusparseZcsr2gebsr⚠
cusparseZcsr2gebsr_bufferSize⚠
cusparseZcsrcolor⚠
cusparseZcsrgeam2⚠
cusparseZcsrgeam2_bufferSizeExt⚠
cusparseZcsric02⚠
cusparseZcsric02_analysis⚠
cusparseZcsric02_bufferSize⚠
cusparseZcsrilu02⚠
cusparseZcsrilu02_analysis⚠
cusparseZcsrilu02_bufferSize⚠
cusparseZcsrilu02_numericBoost⚠
cusparseZcsru2csr⚠
cusparseZcsru2csr_bufferSizeExt⚠
cusparseZgebsr2csr⚠
cusparseZgebsr2gebsc⚠
cusparseZgebsr2gebsc_bufferSize⚠
cusparseZgebsr2gebsr⚠
cusparseZgebsr2gebsr_bufferSize⚠
cusparseZgemvi⚠
cusparseZgemvi_bufferSize⚠
cusparseZgpsvInterleavedBatch⚠
cusparseZgpsvInterleavedBatch_bufferSizeExt⚠
cusparseZgtsv2⚠
cusparseZgtsv2StridedBatch⚠
cusparseZgtsv2StridedBatch_bufferSizeExt⚠
cusparseZgtsv2_bufferSizeExt⚠
cusparseZgtsv2_nopivot⚠
cusparseZgtsv2_nopivot_bufferSizeExt⚠
cusparseZgtsvInterleavedBatch⚠
cusparseZgtsvInterleavedBatch_bufferSizeExt⚠
cusparseZnnz⚠
cusparseZnnz_compress⚠
is_culib_present⚠
Type Aliases
FILE
_IO_lock_t
__off64_t
__off_t
bsric02Info_t
bsrilu02Info_t
bsrsm2Info_t
bsrsv2Info_t
csric02Info_t
csrilu02Info_t
csru2csrInfo_t
cuComplex
cuDoubleComplex
cuFloatComplex
cudaStream_t
cusparseColorInfo_t
cusparseConstDnMatDescr_t
cusparseConstDnVecDescr_t
cusparseConstSpMatDescr_t
cusparseConstSpVecDescr_t
cusparseDnMatDescr_t
cusparseDnVecDescr_t
cusparseHandle_t
cusparseLoggerCallback_t
cusparseMatDescr_t
cusparseSpGEMMDescr_t
cusparseSpMMOpPlan_t
cusparseSpMatDescr_t
cusparseSpSMDescr_t
cusparseSpSVDescr_t
cusparseSpVecDescr_t
pruneInfo_t