mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 04:42:08 +00:00
Fix compile warnings for printf and missing return()
This commit is contained in:
@@ -127,6 +127,7 @@ int T_spmvCSRGDevice(T_Cmat *Matrix, TYPE alpha, void *deviceX,
|
||||
CHECK_CUSPARSE(cusparseDestroyDnVec(vecY) );
|
||||
CHECK_CUSPARSE(cusparseDestroySpMat(*(cMat->spmvDescr)));
|
||||
#endif
|
||||
return(0);
|
||||
}
|
||||
|
||||
int T_spsvCSRGDevice(T_Cmat *Matrix, TYPE alpha, void *deviceX,
|
||||
@@ -215,6 +216,7 @@ int T_spsvCSRGDevice(T_Cmat *Matrix, TYPE alpha, void *deviceX,
|
||||
CHECK_CUSPARSE(cusparseDestroyDnVec(vecY) );
|
||||
CHECK_CUSPARSE(cusparseDestroySpMat(*(cMat->spmvDescr)));
|
||||
#endif
|
||||
return(0);
|
||||
}
|
||||
|
||||
#if CUDA_VERSION >= 11030
|
||||
|
||||
Reference in New Issue
Block a user