Make it buildable with CUDA 10.x or older
@@ -573,6 +573,29 @@ cusparseStatus_t cusparseSpMatGetSize(...) {
return CUSPARSE_STATUS_SUCCESS;
}
+typedef void* cusparseSpGEMMDescr_t;
+typedef enum {} cusparseSpGEMMAlg_t;
+
+cusparseStatus_t cusparseSpGEMM_createDescr(...) {
+ return CUSPARSE_STATUS_SUCCESS;
+}
+
+cusparseStatus_t cusparseSpGEMM_destroyDescr(...) {
+ return CUSPARSE_STATUS_SUCCESS;
+}
+
+cusparseStatus_t cusparseSpGEMM_workEstimation(...) {
+ return CUSPARSE_STATUS_SUCCESS;
+}
+
+cusparseStatus_t cusparseSpGEMM_compute(...) {
+ return CUSPARSE_STATUS_SUCCESS;
+}
+
+cusparseStatus_t cusparseSpGEMM_copy(...) {
+ return CUSPARSE_STATUS_SUCCESS;
+}
+
#endif // #if CUSPARSE_VERSION < 11100
#if CUSPARSE_VERSION < 11300
