According to CUDA CUSPARSE Library PG-05329-032_V01 August, 2010
level 2 functions cusparse{S,D,C,Z}csrmv are declared (on p. 33-34) as
cusparseStatus_t
cusparseScsrmv(
cusparseHandle_t handle, cusparseOperation_t transA,
int m, int n, float alpha,
const cusparseMatDescr_t *descrA,
const float *csrValA,
const int *csrRowPtrA, const int *csrColIndA,
const float *x, float beta,
float *y )
Well, my compiler, following cusparse.h (CUDA 3.2), says that descrA must be passed by value, not pointer.
BTW, what is the best place to submit such reports?