imate
C++/CUDA Reference
cusparse_types.h File Reference
#include <cusparse.h>
Include dependency graph for cusparse_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CUSPARSE_SPMV_ALG_DEFAULT   CUSPARSE_MV_ALG_DEFAULT
 
#define cusparseConstSpMatDescr_t   cusparseSpMatDescr_t
 
#define cusparseConstDnVecDescr_t   cusparseDnVecDescr_t
 

Typedefs

typedef cusparseStatus_t(* cusparseCreate_type) (cusparseHandle_t *handle)
 
typedef cusparseStatus_t(* cusparseDestroy_type) (cusparseHandle_t handle)
 
typedef cusparseStatus_t(* cusparseCreateCsr_type) (cusparseSpMatDescr_t *spMatDescr, int64_t rows, int64_t cols, int64_t nnz, void *csrRowOffsets, void *csrColInd, void *csrValues, cusparseIndexType_t csrRowOffsetsType, cusparseIndexType_t csrColIndType, cusparseIndexBase_t idxBase, cudaDataType valueType)
 
typedef cusparseStatus_t(* cusparseCreateDnVec_type) (cusparseDnVecDescr_t *dnVecDescr, int64_t size, void *values, cudaDataType valueType)
 
typedef cusparseStatus_t(* cusparseDestroySpMat_type) (cusparseConstSpMatDescr_t spMatDescr)
 
typedef cusparseStatus_t(* cusparseDestroyDnVec_type) (cusparseConstDnVecDescr_t dnVecDescr)
 
typedef cusparseStatus_t(* cusparseSpMV_bufferSize_type) (cusparseHandle_t handle, cusparseOperation_t opA, const void *alpha, cusparseConstSpMatDescr_t matA, cusparseConstDnVecDescr_t vecX, const void *beta, cusparseDnVecDescr_t vecY, cudaDataType computeType, cusparseSpMVAlg_t alg, size_t *bufferSize)
 
typedef cusparseStatus_t(* cusparseSpMV_type) (cusparseHandle_t handle, cusparseOperation_t opA, const void *alpha, cusparseConstSpMatDescr_t matA, cusparseConstDnVecDescr_t vecX, const void *beta, cusparseDnVecDescr_t vecY, cudaDataType computeType, cusparseSpMVAlg_t alg, void *externalBuffer)
 

Macro Definition Documentation

◆ CUSPARSE_SPMV_ALG_DEFAULT

#define CUSPARSE_SPMV_ALG_DEFAULT   CUSPARSE_MV_ALG_DEFAULT

Definition at line 32 of file cusparse_types.h.

◆ cusparseConstDnVecDescr_t

#define cusparseConstDnVecDescr_t   cusparseDnVecDescr_t

Definition at line 34 of file cusparse_types.h.

◆ cusparseConstSpMatDescr_t

#define cusparseConstSpMatDescr_t   cusparseSpMatDescr_t

Definition at line 33 of file cusparse_types.h.

Typedef Documentation

◆ cusparseCreate_type

typedef cusparseStatus_t(* cusparseCreate_type) (cusparseHandle_t *handle)

Definition at line 43 of file cusparse_types.h.

◆ cusparseCreateCsr_type

typedef cusparseStatus_t(* cusparseCreateCsr_type) (cusparseSpMatDescr_t *spMatDescr, int64_t rows, int64_t cols, int64_t nnz, void *csrRowOffsets, void *csrColInd, void *csrValues, cusparseIndexType_t csrRowOffsetsType, cusparseIndexType_t csrColIndType, cusparseIndexBase_t idxBase, cudaDataType valueType)

Definition at line 49 of file cusparse_types.h.

◆ cusparseCreateDnVec_type

typedef cusparseStatus_t(* cusparseCreateDnVec_type) (cusparseDnVecDescr_t *dnVecDescr, int64_t size, void *values, cudaDataType valueType)

Definition at line 63 of file cusparse_types.h.

◆ cusparseDestroy_type

typedef cusparseStatus_t(* cusparseDestroy_type) (cusparseHandle_t handle)

Definition at line 46 of file cusparse_types.h.

◆ cusparseDestroyDnVec_type

typedef cusparseStatus_t(* cusparseDestroyDnVec_type) (cusparseConstDnVecDescr_t dnVecDescr)

Definition at line 74 of file cusparse_types.h.

◆ cusparseDestroySpMat_type

typedef cusparseStatus_t(* cusparseDestroySpMat_type) (cusparseConstSpMatDescr_t spMatDescr)

Definition at line 70 of file cusparse_types.h.

◆ cusparseSpMV_bufferSize_type

typedef cusparseStatus_t(* cusparseSpMV_bufferSize_type) (cusparseHandle_t handle, cusparseOperation_t opA, const void *alpha, cusparseConstSpMatDescr_t matA, cusparseConstDnVecDescr_t vecX, const void *beta, cusparseDnVecDescr_t vecY, cudaDataType computeType, cusparseSpMVAlg_t alg, size_t *bufferSize)

Definition at line 78 of file cusparse_types.h.

◆ cusparseSpMV_type

typedef cusparseStatus_t(* cusparseSpMV_type) (cusparseHandle_t handle, cusparseOperation_t opA, const void *alpha, cusparseConstSpMatDescr_t matA, cusparseConstDnVecDescr_t vecX, const void *beta, cusparseDnVecDescr_t vecY, cudaDataType computeType, cusparseSpMVAlg_t alg, void *externalBuffer)

Definition at line 91 of file cusparse_types.h.