Make it buildable with CUDA 10.0 or older
@@ -74,6 +74,41 @@ cusolverStatus_t cusolverDnZgesvdj(...) {
}
#endif // #if CUDA_VERSION < 9000
+#if CUDA_VERSION < 10010
+// Functions addes in CUDA 10.1
+cusolverStatus_t cusolverDnSgesvdaStridedBatched_bufferSize(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+
+cusolverStatus_t cusolverDnDgesvdaStridedBatched_bufferSize(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+
+cusolverStatus_t cusolverDnCgesvdaStridedBatched_bufferSize(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+
+cusolverStatus_t cusolverDnZgesvdaStridedBatched_bufferSize(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+
+cusolverStatus_t cusolverDnSgesvdaStridedBatched(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+
+cusolverStatus_t cusolverDnDgesvdaStridedBatched(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+
+cusolverStatus_t cusolverDnCgesvdaStridedBatched(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+
+cusolverStatus_t cusolverDnZgesvdaStridedBatched(...) {
+ return CUSOLVER_STATUS_SUCCESS;
+}
+#endif // #if CUDA_VERSION < 10010
+
#else // #if !defined(CUPY_NO_CUDA) && !defined(CUPY_USE_HIP)
#ifdef CUPY_USE_HIP
