Start refactoring cusparse.h

repack-newsolve
sfilippone 7 months ago
parent ee66db5efd
commit 2e3f862e42

@ -38,8 +38,6 @@
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <cusparse_v2.h> #include <cusparse_v2.h>
#include "cintrf.h" #include "cintrf.h"
#include "fcusparse.h"
/* Double precision real */ /* Double precision real */
#define TYPE float complex #define TYPE float complex
@ -97,4 +95,6 @@
#endif #endif
#include "fcusparse.h"
#endif #endif

@ -38,8 +38,6 @@
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <cusparse_v2.h> #include <cusparse_v2.h>
#include "cintrf.h" #include "cintrf.h"
#include "fcusparse.h"
/* Double precision real */ /* Double precision real */
#define TYPE double #define TYPE double
@ -97,5 +95,7 @@
#endif #endif
#include "fcusparse.h"
#endif #endif

@ -65,4 +65,7 @@ cusparseHandle_t *getHandle();
} \ } \
} }
#endif #endif

@ -32,15 +32,12 @@
#define SCUSPARSE_ #define SCUSPARSE_
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <cusparse_v2.h> #include <cusparse_v2.h>
#include "cintrf.h" #include "cintrf.h"
#include "fcusparse.h"
/* Double precision real */ /* Double precision real */
#define TYPE float #define TYPE float
@ -98,5 +95,6 @@
#endif #endif
#endif #include "fcusparse.h"
#endif

@ -38,8 +38,6 @@
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <cusparse_v2.h> #include <cusparse_v2.h>
#include "cintrf.h" #include "cintrf.h"
#include "fcusparse.h"
/* Double precision real */ /* Double precision real */
#define TYPE double complex #define TYPE double complex
@ -97,5 +95,6 @@
#endif #endif
#endif #include "fcusparse.h"
#endif

Loading…
Cancel
Save