This is what I got.
gpu/include/cml/cml_spmat.cuh(41): error: identifier "CUSPARSE_ACTION_NUMERIC" is undefined
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(40): error: argument of type "int" is incompatible with parameter of type "const float *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(40): error: argument of type "const float *" is incompatible with parameter of type "const int *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(41): error: argument of type "const int *" is incompatible with parameter of type "float *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(41): error: argument of type "float *" is incompatible with parameter of type "int *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(41): error: argument of type "int *" is incompatible with parameter of type "int"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(42): error: too many arguments in function call
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(48): error: identifier "CUSPARSE_ACTION_NUMERIC" is undefined
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(47): error: argument of type "int" is incompatible with parameter of type "const float *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(47): error: argument of type "const float *" is incompatible with parameter of type "const int *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(48): error: argument of type "const int *" is incompatible with parameter of type "float *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(48): error: argument of type "float *" is incompatible with parameter of type "int *"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(48): error: argument of type "int *" is incompatible with parameter of type "int"
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spmat.cuh(49): error: too many arguments in function call
detected during:
instantiation of "void cml::spmat_memcpy(cusparseHandle_t, cml::spmat<T, I, O> *, const T *, const I *, const I *) [with T=float, I=pogs::POGS_INT, O=CblasRowMajor]"
gpu/matrix/matrix_sparse.cu(139): here
instantiation of "int pogs::MatrixSparse<T>::Init() [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(60): error: argument of type "float *" is incompatible with parameter of type "cusparseMatDescr_t"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(60): error: argument of type "cusparseMatDescr_t" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(61): error: argument of type "float *" is incompatible with parameter of type "const int *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(61): error: argument of type "pogs::POGS_INT *" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(61): error: argument of type "float *" is incompatible with parameter of type "float"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(61): error: too many arguments in function call
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(63): error: argument of type "float *" is incompatible with parameter of type "cusparseMatDescr_t"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(63): error: argument of type "cusparseMatDescr_t" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(64): error: argument of type "float *" is incompatible with parameter of type "const int *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(64): error: argument of type "pogs::POGS_INT *" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(64): error: argument of type "float *" is incompatible with parameter of type "float"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(65): error: too many arguments in function call
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasRowMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(171): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(80): error: argument of type "float *" is incompatible with parameter of type "cusparseMatDescr_t"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(81): error: argument of type "cusparseMatDescr_t" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(81): error: argument of type "float *" is incompatible with parameter of type "const int *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(81): error: argument of type "pogs::POGS_INT *" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(81): error: argument of type "float *" is incompatible with parameter of type "float"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(82): error: too many arguments in function call
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(84): error: argument of type "float *" is incompatible with parameter of type "cusparseMatDescr_t"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(85): error: argument of type "cusparseMatDescr_t" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(85): error: argument of type "float *" is incompatible with parameter of type "const int *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(85): error: argument of type "pogs::POGS_INT *" is incompatible with parameter of type "const float *"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(85): error: argument of type "float *" is incompatible with parameter of type "float"
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
gpu/include/cml/cml_spblas.cuh(85): error: too many arguments in function call
detected during:
instantiation of "cusparseStatus_t cml::spblas_gemv(cusparseHandle_t, cusparseOperation_t, cusparseMatDescr_t, float, const cml::spmat<float, I, CblasColMajor> *, const cml::vector<float> *, float, cml::vector<float> *) [with I=pogs::POGS_INT]"
gpu/matrix/matrix_sparse.cu(176): here
instantiation of "int pogs::MatrixSparse<T>::Mul(char, T, const T *, T, T *) const [with T=float]"
gpu/matrix/matrix_sparse.cu(376): here
76 errors detected in the compilation of "/tmp/tmpxft_0000776b_00000000-6_matrix_sparse.cpp1.ii".
make[1]: *** [build/gpu/matrix/matrix_sparse.o] Error 2
make[1]: Leaving directory `/home/msca8h/project/POGS_test/pogs/src'
make: *** [gpu] Error 2