imate
C++/CUDA Reference
|
#include "./cusparse_symbols.h"
#include <cusparse.h>
#include <cstdlib>
#include <sstream>
#include "./dynamic_loading.h"
Go to the source code of this file.
Functions | |
cusparseStatus_t | cusparseCreate (cusparseHandle_t *handle) |
Definition of CUDA's cusparseCreate function using dynamically loaded cublas library. More... | |
cusparseStatus_t | cusparseDestroy (cusparseHandle_t handle) |
Definition of CUDA's cusparseDestroy function using dynamically loaded cublas library. More... | |
cusparseStatus_t | cusparseCreateCsr (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 of CUDA's cusparseCreateCsr function using dynamically loaded cublas library. More... | |
cusparseStatus_t | cusparseCreateDnVec (cusparseDnVecDescr_t *dnVecDescr, int64_t size, void *values, cudaDataType valueType) |
Definition of CUDA's cusparseCreateDnVec function using dynamically loaded cublas library. More... | |
cusparseStatus_t | cusparseDestroySpMat (cusparseConstSpMatDescr_t spMatDescr) |
Definition of CUDA's cusparseDestroySpMat function using dynamically loaded cublas library. More... | |
cusparseStatus_t | cusparseDestroyDnVec (cusparseConstDnVecDescr_t dnVecDescr) |
Definition of CUDA's cusparseDestroyDnVec function using dynamically loaded cublas library. More... | |
cusparseStatus_t | cusparseSpMV_bufferSize (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 of CUDA's cusparseSpMV_bufferSize function using dynamically loaded cublas library. More... | |
cusparseStatus_t | cusparseSpMV (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 of CUDA's cusparseSmMV function using dynamically loaded cublas library. More... | |
cusparseStatus_t cusparseCreate | ( | cusparseHandle_t * | handle | ) |
Definition of CUDA's cusparseCreate
function using dynamically loaded cublas library.
Definition at line 92 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseCreate, and cusparseSymbols::get_lib_name().
Referenced by cuLinearOperator< DataType >::initialize_cusparse_handle().
cusparseStatus_t cusparseCreateCsr | ( | 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 of CUDA's cusparseCreateCsr
function using dynamically loaded cublas library.
Definition at line 140 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseCreateCsr, and cusparseSymbols::get_lib_name().
Referenced by cusparse_interface::create_cusparse_matrix< double >(), and cusparse_interface::create_cusparse_matrix< float >().
cusparseStatus_t cusparseCreateDnVec | ( | cusparseDnVecDescr_t * | dnVecDescr, |
int64_t | size, | ||
void * | values, | ||
cudaDataType | valueType | ||
) |
Definition of CUDA's cusparseCreateDnVec
function using dynamically loaded cublas library.
Definition at line 177 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseCreateDnVec, and cusparseSymbols::get_lib_name().
Referenced by cusparse_interface::create_cusparse_vector< double >(), and cusparse_interface::create_cusparse_vector< float >().
cusparseStatus_t cusparseDestroy | ( | cusparseHandle_t | handle | ) |
Definition of CUDA's cusparseDestroy
function using dynamically loaded cublas library.
Definition at line 116 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseDestroy, and cusparseSymbols::get_lib_name().
Referenced by cuLinearOperator< DataType >::~cuLinearOperator().
cusparseStatus_t cusparseDestroyDnVec | ( | cusparseConstDnVecDescr_t | dnVecDescr | ) |
Definition of CUDA's cusparseDestroyDnVec
function using dynamically loaded cublas library.
Definition at line 231 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseDestroyDnVec, and cusparseSymbols::get_lib_name().
Referenced by cusparse_interface::destroy_cusparse_vector().
cusparseStatus_t cusparseDestroySpMat | ( | cusparseConstSpMatDescr_t | spMatDescr | ) |
Definition of CUDA's cusparseDestroySpMat
function using dynamically loaded cublas library.
Definition at line 206 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseDestroySpMat, and cusparseSymbols::get_lib_name().
Referenced by cusparse_interface::destroy_cusparse_matrix().
cusparseStatus_t cusparseSpMV | ( | 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 of CUDA's cusparseSmMV
function using dynamically loaded cublas library.
Definition at line 292 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseSpMV, and cusparseSymbols::get_lib_name().
Referenced by cusparse_interface::cusparse_matvec< double >(), and cusparse_interface::cusparse_matvec< float >().
cusparseStatus_t cusparseSpMV_bufferSize | ( | 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 of CUDA's cusparseSpMV_bufferSize
function using dynamically loaded cublas library.
Definition at line 256 of file cusparse_symbols.cpp.
References cusparseSymbols::cusparseSpMV_bufferSize, and cusparseSymbols::get_lib_name().
Referenced by cusparse_interface::cusparse_matrix_buffer_size< double >(), and cusparse_interface::cusparse_matrix_buffer_size< float >().