comparison ext/clapack/include/blaswrap.h @ 427:905e45637745

Add the CLAPACK and CBLAS/F2C-BLAS files we use
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 30 Sep 2016 15:51:22 +0100
parents
children
comparison
equal deleted inserted replaced
426:a23b9f8b4a59 427:905e45637745
1 /* CLAPACK 3.0 BLAS wrapper macros
2 * Feb 5, 2000
3 */
4
5 #ifndef __BLASWRAP_H
6 #define __BLASWRAP_H
7
8 #ifndef NO_BLAS_WRAP
9
10 /* BLAS1 routines */
11 #define srotg_ f2c_srotg
12 #define crotg_ f2c_crotg
13 #define drotg_ f2c_drotg
14 #define zrotg_ f2c_zrotg
15 #define srotmg_ f2c_srotmg
16 #define drotmg_ f2c_drotmg
17 #define srot_ f2c_srot
18 #define drot_ f2c_drot
19 #define srotm_ f2c_srotm
20 #define drotm_ f2c_drotm
21 #define sswap_ f2c_sswap
22 #define dswap_ f2c_dswap
23 #define cswap_ f2c_cswap
24 #define zswap_ f2c_zswap
25 #define sscal_ f2c_sscal
26 #define dscal_ f2c_dscal
27 #define cscal_ f2c_cscal
28 #define zscal_ f2c_zscal
29 #define csscal_ f2c_csscal
30 #define zdscal_ f2c_zdscal
31 #define scopy_ f2c_scopy
32 #define dcopy_ f2c_dcopy
33 #define ccopy_ f2c_ccopy
34 #define zcopy_ f2c_zcopy
35 #define saxpy_ f2c_saxpy
36 #define daxpy_ f2c_daxpy
37 #define caxpy_ f2c_caxpy
38 #define zaxpy_ f2c_zaxpy
39 #define sdot_ f2c_sdot
40 #define ddot_ f2c_ddot
41 #define cdotu_ f2c_cdotu
42 #define zdotu_ f2c_zdotu
43 #define cdotc_ f2c_cdotc
44 #define zdotc_ f2c_zdotc
45 #define snrm2_ f2c_snrm2
46 #define dnrm2_ f2c_dnrm2
47 #define scnrm2_ f2c_scnrm2
48 #define dznrm2_ f2c_dznrm2
49 #define sasum_ f2c_sasum
50 #define dasum_ f2c_dasum
51 #define scasum_ f2c_scasum
52 #define dzasum_ f2c_dzasum
53 #define isamax_ f2c_isamax
54 #define idamax_ f2c_idamax
55 #define icamax_ f2c_icamax
56 #define izamax_ f2c_izamax
57
58 /* BLAS2 routines */
59 #define sgemv_ f2c_sgemv
60 #define dgemv_ f2c_dgemv
61 #define cgemv_ f2c_cgemv
62 #define zgemv_ f2c_zgemv
63 #define sgbmv_ f2c_sgbmv
64 #define dgbmv_ f2c_dgbmv
65 #define cgbmv_ f2c_cgbmv
66 #define zgbmv_ f2c_zgbmv
67 #define chemv_ f2c_chemv
68 #define zhemv_ f2c_zhemv
69 #define chbmv_ f2c_chbmv
70 #define zhbmv_ f2c_zhbmv
71 #define chpmv_ f2c_chpmv
72 #define zhpmv_ f2c_zhpmv
73 #define ssymv_ f2c_ssymv
74 #define dsymv_ f2c_dsymv
75 #define ssbmv_ f2c_ssbmv
76 #define dsbmv_ f2c_dsbmv
77 #define sspmv_ f2c_sspmv
78 #define dspmv_ f2c_dspmv
79 #define strmv_ f2c_strmv
80 #define dtrmv_ f2c_dtrmv
81 #define ctrmv_ f2c_ctrmv
82 #define ztrmv_ f2c_ztrmv
83 #define stbmv_ f2c_stbmv
84 #define dtbmv_ f2c_dtbmv
85 #define ctbmv_ f2c_ctbmv
86 #define ztbmv_ f2c_ztbmv
87 #define stpmv_ f2c_stpmv
88 #define dtpmv_ f2c_dtpmv
89 #define ctpmv_ f2c_ctpmv
90 #define ztpmv_ f2c_ztpmv
91 #define strsv_ f2c_strsv
92 #define dtrsv_ f2c_dtrsv
93 #define ctrsv_ f2c_ctrsv
94 #define ztrsv_ f2c_ztrsv
95 #define stbsv_ f2c_stbsv
96 #define dtbsv_ f2c_dtbsv
97 #define ctbsv_ f2c_ctbsv
98 #define ztbsv_ f2c_ztbsv
99 #define stpsv_ f2c_stpsv
100 #define dtpsv_ f2c_dtpsv
101 #define ctpsv_ f2c_ctpsv
102 #define ztpsv_ f2c_ztpsv
103 #define sger_ f2c_sger
104 #define dger_ f2c_dger
105 #define cgeru_ f2c_cgeru
106 #define zgeru_ f2c_zgeru
107 #define cgerc_ f2c_cgerc
108 #define zgerc_ f2c_zgerc
109 #define cher_ f2c_cher
110 #define zher_ f2c_zher
111 #define chpr_ f2c_chpr
112 #define zhpr_ f2c_zhpr
113 #define cher2_ f2c_cher2
114 #define zher2_ f2c_zher2
115 #define chpr2_ f2c_chpr2
116 #define zhpr2_ f2c_zhpr2
117 #define ssyr_ f2c_ssyr
118 #define dsyr_ f2c_dsyr
119 #define sspr_ f2c_sspr
120 #define dspr_ f2c_dspr
121 #define ssyr2_ f2c_ssyr2
122 #define dsyr2_ f2c_dsyr2
123 #define sspr2_ f2c_sspr2
124 #define dspr2_ f2c_dspr2
125
126 /* BLAS3 routines */
127 #define sgemm_ f2c_sgemm
128 #define dgemm_ f2c_dgemm
129 #define cgemm_ f2c_cgemm
130 #define zgemm_ f2c_zgemm
131 #define ssymm_ f2c_ssymm
132 #define dsymm_ f2c_dsymm
133 #define csymm_ f2c_csymm
134 #define zsymm_ f2c_zsymm
135 #define chemm_ f2c_chemm
136 #define zhemm_ f2c_zhemm
137 #define ssyrk_ f2c_ssyrk
138 #define dsyrk_ f2c_dsyrk
139 #define csyrk_ f2c_csyrk
140 #define zsyrk_ f2c_zsyrk
141 #define cherk_ f2c_cherk
142 #define zherk_ f2c_zherk
143 #define ssyr2k_ f2c_ssyr2k
144 #define dsyr2k_ f2c_dsyr2k
145 #define csyr2k_ f2c_csyr2k
146 #define zsyr2k_ f2c_zsyr2k
147 #define cher2k_ f2c_cher2k
148 #define zher2k_ f2c_zher2k
149 #define strmm_ f2c_strmm
150 #define dtrmm_ f2c_dtrmm
151 #define ctrmm_ f2c_ctrmm
152 #define ztrmm_ f2c_ztrmm
153 #define strsm_ f2c_strsm
154 #define dtrsm_ f2c_dtrsm
155 #define ctrsm_ f2c_ctrsm
156 #define ztrsm_ f2c_ztrsm
157
158 #endif /* NO_BLAS_WRAP */
159
160 #endif /* __BLASWRAP_H */