vendor/scs/linsys/gpu/indirect/private.h in scs-0.2.2 vs vendor/scs/linsys/gpu/indirect/private.h in scs-0.2.3
- old
+ new
@@ -26,9 +26,14 @@
ScsGpuMatrix *Ag; /* A matrix on GPU */
ScsGpuMatrix *Agt; /* A trans matrix on GPU */
/* CUDA */
cublasHandle_t cublas_handle;
cusparseHandle_t cusparse_handle;
+ /* CUSPARSE */
+ size_t buffer_size;
+ void *buffer;
+ cusparseDnVecDescr_t dn_vec_m; /* Dense vector of length m */
+ cusparseDnVecDescr_t dn_vec_n; /* Dense vector of length n */
};
#ifdef __cplusplus
}
#endif