Statistiques
| Révision :

root / BLAS / xGEMM / fortran_common.h.orig @ 6

Historique | Voir | Annoter | Télécharger (17,38 ko)

1
/*
2
 * Copyright 1993-2011 NVIDIA Corporation.  All rights reserved.
3
 *
4
 * NOTICE TO LICENSEE:
5
 *
6
 * This source code and/or documentation ("Licensed Deliverables") are
7
 * subject to NVIDIA intellectual property rights under U.S. and
8
 * international Copyright laws.
9
 *
10
 * These Licensed Deliverables contained herein is PROPRIETARY and
11
 * CONFIDENTIAL to NVIDIA and is being provided under the terms and
12
 * conditions of a form of NVIDIA software license agreement by and
13
 * between NVIDIA and Licensee ("License Agreement") or electronically
14
 * accepted by Licensee.  Notwithstanding any terms or conditions to
15
 * the contrary in the License Agreement, reproduction or disclosure
16
 * of the Licensed Deliverables to any third party without the express
17
 * written consent of NVIDIA is prohibited.
18
 *
19
 * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
20
 * LICENSE AGREEMENT, NVIDIA MAKES NO REPRESENTATION ABOUT THE
21
 * SUITABILITY OF THESE LICENSED DELIVERABLES FOR ANY PURPOSE.  IT IS
22
 * PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND.
23
 * NVIDIA DISCLAIMS ALL WARRANTIES WITH REGARD TO THESE LICENSED
24
 * DELIVERABLES, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
25
 * NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE.
26
 * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
27
 * LICENSE AGREEMENT, IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY
28
 * SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY
29
 * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
30
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
31
 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
32
 * OF THESE LICENSED DELIVERABLES.
33
 *
34
 * U.S. Government End Users.  These Licensed Deliverables are a
35
 * "commercial item" as that term is defined at 48 C.F.R. 2.101 (OCT
36
 * 1995), consisting of "commercial computer software" and "commercial
37
 * computer software documentation" as such terms are used in 48
38
 * C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Government
39
 * only as a commercial end item.  Consistent with 48 C.F.R.12.212 and
40
 * 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), all
41
 * U.S. Government End Users acquire the Licensed Deliverables with
42
 * only those rights set forth herein.
43
 *
44
 * Any use of the Licensed Deliverables in individual and commercial
45
 * software must include, in the user documentation and internal
46
 * comments to the code, the above Disclaimer and U.S. Government End
47
 * Users Notice.
48
 */
49
 
50
#define CUBLAS_G77              1
51
#define CUBLAS_INTEL_FORTRAN    2
52
#define CUBLAS_G95              3
53

    
54
/* Default to g77 on Linux, and Intel Fortran on Win32 */
55
#if defined(_WIN32)
56
#define CUBLAS_FORTRAN_COMPILER CUBLAS_INTEL_FORTRAN
57
#elif defined(__linux)
58
#define CUBLAS_FORTRAN_COMPILER CUBLAS_G95
59
#elif defined(__APPLE__)
60
#define CUBLAS_FORTRAN_COMPILER CUBLAS_G95
61
#define RETURN_COMPLEX   1
62
#else
63
#error unsupported platform
64
#endif
65

    
66
#if (CUBLAS_FORTRAN_COMPILER==CUBLAS_G77) || (CUBLAS_FORTRAN_COMPILER==CUBLAS_G95)
67
/* NOTE: Must use -fno-second-underscore when building Fortran source with g77
68
 *       g77 invocation may not use -fno-f2c, which forces different return 
69
 *       type conventions than the one used below
70
 */
71
#define CUBLAS_INIT             cublas_init_
72
#define CUBLAS_SHUTDOWN         cublas_shutdown_
73
#define CUBLAS_ALLOC            cublas_alloc_
74
#define CUBLAS_FREE             cublas_free_
75
#define CUBLAS_SET_VECTOR       cublas_set_vector_
76
#define CUBLAS_GET_VECTOR       cublas_get_vector_
77
#define CUBLAS_SET_MATRIX       cublas_set_matrix_
78
#define CUBLAS_GET_MATRIX       cublas_get_matrix_
79
#define CUBLAS_GET_ERROR        cublas_get_error_
80
#define CUBLAS_XERBLA           cublas_xerbla_
81
#define CUBLAS_ISAMAX           cublas_isamax_
82
#define CUBLAS_ISAMIN           cublas_isamin_
83
#define CUBLAS_SASUM            cublas_sasum_
84
#define CUBLAS_SAXPY            cublas_saxpy_
85
#define CUBLAS_SCOPY            cublas_scopy_
86
#define CUBLAS_SDOT             cublas_sdot_
87
#define CUBLAS_SNRM2            cublas_snrm2_
88
#define CUBLAS_SROT             cublas_srot_
89
#define CUBLAS_SROTG            cublas_srotg_
90
#define CUBLAS_SROTM            cublas_srotm_
91
#define CUBLAS_SROTMG           cublas_srotmg_
92
#define CUBLAS_SSCAL            cublas_sscal_
93
#define CUBLAS_SSWAP            cublas_sswap_
94
#define CUBLAS_CAXPY            cublas_caxpy_
95
#define CUBLAS_CCOPY            cublas_ccopy_
96
#define CUBLAS_CROT             cublas_crot_
97
#define CUBLAS_CROTG            cublas_crotg_
98
#define CUBLAS_CSCAL            cublas_cscal_
99
#define CUBLAS_CSROT            cublas_csrot_
100
#define CUBLAS_CSSCAL           cublas_csscal_
101
#define CUBLAS_CSWAP            cublas_cswap_
102
#define CUBLAS_CTRMV            cublas_ctrmv_
103
#define CUBLAS_CDOTU            cublas_cdotu_
104
#define CUBLAS_CDOTC            cublas_cdotc_
105
#define CUBLAS_ICAMAX           cublas_icamax_
106
#define CUBLAS_SCASUM           cublas_scasum_
107
#define CUBLAS_SCNRM2           cublas_scnrm2_
108
#define CUBLAS_SGBMV            cublas_sgbmv_
109
#define CUBLAS_SGEMV            cublas_sgemv_
110
#define CUBLAS_SGER             cublas_sger_
111
#define CUBLAS_SSBMV            cublas_ssbmv_
112
#define CUBLAS_SSPMV            cublas_sspmv_
113
#define CUBLAS_SSPR             cublas_sspr_
114
#define CUBLAS_SSPR2            cublas_sspr2_
115
#define CUBLAS_SSYMV            cublas_ssymv_
116
#define CUBLAS_SSYR             cublas_ssyr_
117
#define CUBLAS_SSYR2            cublas_ssyr2_
118
#define CUBLAS_STBMV            cublas_stbmv_
119
#define CUBLAS_STBSV            cublas_stbsv_
120
#define CUBLAS_STPMV            cublas_stpmv_
121
#define CUBLAS_STPSV            cublas_stpsv_
122
#define CUBLAS_STRMV            cublas_strmv_
123
#define CUBLAS_STRSV            cublas_strsv_
124
#define CUBLAS_SGEMM            cublas_sgemm_
125
#define CUBLAS_SSYMM            cublas_ssymm_
126
#define CUBLAS_SSYR2K           cublas_ssyr2k_
127
#define CUBLAS_SSYRK            cublas_ssyrk_
128
#define CUBLAS_STRMM            cublas_strmm_
129
#define CUBLAS_STRSM            cublas_strsm_
130
#define CUBLAS_CGEMM            cublas_cgemm_
131
#define CUBLAS_CHEMM            cublas_chemm_
132
#define CUBLAS_CSYMM            cublas_csymm_
133
#define CUBLAS_CTRMM            cublas_ctrmm_
134
#define CUBLAS_CTRSM            cublas_ctrsm_
135
#define CUBLAS_CHERK            cublas_cherk_
136
#define CUBLAS_CSYRK            cublas_csyrk_
137
#define CUBLAS_CHER2K           cublas_cher2k_
138
#define CUBLAS_CSYR2K           cublas_csyr2k_
139
#define CUBLAS_IDAMAX           cublas_idamax_
140
#define CUBLAS_IDAMIN           cublas_idamin_
141
#define CUBLAS_DASUM            cublas_dasum_
142
#define CUBLAS_DAXPY            cublas_daxpy_
143
#define CUBLAS_DCOPY            cublas_dcopy_
144
#define CUBLAS_DDOT             cublas_ddot_
145
#define CUBLAS_DNRM2            cublas_dnrm2_
146
#define CUBLAS_DROT             cublas_drot_
147
#define CUBLAS_DROTG            cublas_drotg_
148
#define CUBLAS_DROTM            cublas_drotm_
149
#define CUBLAS_DROTMG           cublas_drotmg_
150
#define CUBLAS_DSCAL            cublas_dscal_
151
#define CUBLAS_DSWAP            cublas_dswap_
152
#define CUBLAS_ZAXPY            cublas_zaxpy_
153
#define CUBLAS_ZCOPY            cublas_zcopy_
154
#define CUBLAS_ZROT             cublas_zrot_
155
#define CUBLAS_ZROTG            cublas_zrotg_
156
#define CUBLAS_ZSCAL            cublas_zscal_
157
#define CUBLAS_ZDROT            cublas_zdrot_
158
#define CUBLAS_ZDSCAL           cublas_zdscal_
159
#define CUBLAS_ZSWAP            cublas_zswap_
160
#define CUBLAS_ZDOTU            cublas_zdotu_
161
#define CUBLAS_ZDOTC            cublas_zdotc_
162
#define CUBLAS_IZAMAX           cublas_izamax_
163
#define CUBLAS_DZASUM           cublas_dzasum_
164
#define CUBLAS_DZNRM2           cublas_dznrm2_
165
#define CUBLAS_DGBMV            cublas_dgbmv_
166
#define CUBLAS_DGEMV            cublas_dgemv_
167
#define CUBLAS_ZGEMV            cublas_zgemv_
168
#define CUBLAS_DGER             cublas_dger_
169
#define CUBLAS_DSBMV            cublas_dsbmv_
170
#define CUBLAS_DSPMV            cublas_dspmv_
171
#define CUBLAS_DSPR             cublas_dspr_
172
#define CUBLAS_DSPR2            cublas_dspr2_
173
#define CUBLAS_DSYMV            cublas_dsymv_
174
#define CUBLAS_DSYR             cublas_dsyr_
175
#define CUBLAS_DSYR2            cublas_dsyr2_
176
#define CUBLAS_DTBMV            cublas_dtbmv_
177
#define CUBLAS_DTBSV            cublas_dtbsv_
178
#define CUBLAS_DTPMV            cublas_dtpmv_
179
#define CUBLAS_DTPSV            cublas_dtpsv_
180
#define CUBLAS_DTRMV            cublas_dtrmv_
181
#define CUBLAS_DTRSV            cublas_dtrsv_
182
#define CUBLAS_DGEMM            cublas_dgemm_
183
#define CUBLAS_DSYMM            cublas_dsymm_
184
#define CUBLAS_DSYR2K           cublas_dsyr2k_
185
#define CUBLAS_DSYRK            cublas_dsyrk_
186
#define CUBLAS_ZSYRK            cublas_zsyrk_
187
#define CUBLAS_DTRMM            cublas_dtrmm_
188
#define CUBLAS_DTRSM            cublas_dtrsm_
189
#define CUBLAS_ZGEMM            cublas_zgemm_
190
#define CUBLAS_ZHEMM            cublas_zhemm_
191
#define CUBLAS_ZSYMM            cublas_zsymm_
192
#define CUBLAS_ZTRMM            cublas_ztrmm_
193
#define CUBLAS_ZTRSM            cublas_ztrsm_
194
#define CUBLAS_ZHERK            cublas_zherk_
195
#define CUBLAS_ZSYRK            cublas_zsyrk_
196
#define CUBLAS_ZHER2K           cublas_zher2k_
197
#define CUBLAS_ZSYR2K           cublas_zsyr2k_
198

    
199
#define  CUBLAS_CGEMV           cublas_cgemv_
200
#define  CUBLAS_CGBMV           cublas_cgbmv_
201
#define  CUBLAS_CHEMV           cublas_chemv_
202
#define  CUBLAS_CHBMV           cublas_chbmv_
203
#define  CUBLAS_CHPMV           cublas_chpmv_
204
#define  CUBLAS_CTBMV           cublas_ctbmv_
205
#define  CUBLAS_CTPMV           cublas_ctpmv_
206
#define  CUBLAS_CTRSV           cublas_ctrsv_
207
#define  CUBLAS_CTBSV           cublas_ctbsv_
208
#define  CUBLAS_CTPSV           cublas_ctpsv_
209
#define  CUBLAS_CGERC           cublas_cgerc_
210
#define  CUBLAS_CGERU           cublas_cgeru_
211
#define  CUBLAS_CHPR            cublas_chpr_
212
#define  CUBLAS_CHPR2           cublas_chpr2_
213
#define  CUBLAS_CHER            cublas_cher_
214
#define  CUBLAS_CHER2           cublas_cher2_
215

    
216
// stubs for zblat2
217
#define CUBLAS_ZGBMV           cublas_zgbmv_
218
#define CUBLAS_ZHEMV           cublas_zhemv_
219
#define CUBLAS_ZHBMV           cublas_zhbmv_
220
#define CUBLAS_ZHPMV           cublas_zhpmv_
221
#define CUBLAS_ZTRMV           cublas_ztrmv_
222
#define CUBLAS_ZTBMV           cublas_ztbmv_
223
#define CUBLAS_ZTPMV           cublas_ztpmv_
224
#define CUBLAS_ZTRSV           cublas_ztrsv_
225
#define CUBLAS_ZTBSV           cublas_ztbsv_
226
#define CUBLAS_ZTPSV           cublas_ztpsv_
227
#define CUBLAS_ZGERC           cublas_zgerc_
228
#define CUBLAS_ZGERU           cublas_zgeru_
229
#define CUBLAS_ZHER            cublas_zher_
230
#define CUBLAS_ZHPR            cublas_zhpr_
231
#define CUBLAS_ZHER2           cublas_zher2_
232
#define CUBLAS_ZHPR2           cublas_zhpr2_
233

    
234
#elif CUBLAS_FORTRAN_COMPILER==CUBLAS_INTEL_FORTRAN
235

    
236
#define CUBLAS_INIT             CUBLAS_INIT 
237
#define CUBLAS_SHUTDOWN         CUBLAS_SHUTDOWN
238
#define CUBLAS_ALLOC            CUBLAS_ALLOC
239
#define CUBLAS_FREE             CUBLAS_FREE
240
#define CUBLAS_SET_VECTOR       CUBLAS_SET_VECTOR
241
#define CUBLAS_GET_VECTOR       CUBLAS_GET_VECTOR
242
#define CUBLAS_SET_MATRIX       CUBLAS_SET_MATRIX
243
#define CUBLAS_GET_MATRIX       CUBLAS_GET_MATRIX
244
#define CUBLAS_GET_ERROR        CUBLAS_GET_ERROR
245
#define CUBLAS_XERBLA           CUBLAS_XERBLA
246
#define CUBLAS_ISAMAX           CUBLAS_ISAMAX
247
#define CUBLAS_ISAMIN           CUBLAS_ISAMIN
248
#define CUBLAS_SASUM            CUBLAS_SASUM
249
#define CUBLAS_SAXPY            CUBLAS_SAXPY
250
#define CUBLAS_SCOPY            CUBLAS_SCOPY
251
#define CUBLAS_SDOT             CUBLAS_SDOT
252
#define CUBLAS_SNRM2            CUBLAS_SNRM2
253
#define CUBLAS_SROT             CUBLAS_SROT
254
#define CUBLAS_SROTG            CUBLAS_SROTG
255
#define CUBLAS_SROTM            CUBLAS_SROTM
256
#define CUBLAS_SROTMG           CUBLAS_SROTMG
257
#define CUBLAS_SSCAL            CUBLAS_SSCAL
258
#define CUBLAS_SSWAP            CUBLAS_SSWAP
259
#define CUBLAS_CAXPY            CUBLAS_CAXPY
260
#define CUBLAS_CCOPY            CUBLAS_CCOPY
261
#define CUBLAS_ZCOPY            CUBLAS_ZCOPY
262
#define CUBLAS_CROT             CUBLAS_CROT
263
#define CUBLAS_CROTG            CUBLAS_CROTG
264
#define CUBLAS_CSCAL            CUBLAS_CSCAL
265
#define CUBLAS_CSROT            CUBLAS_CSROT
266
#define CUBLAS_CSSCAL           CUBLAS_CSSCAL
267
#define CUBLAS_CSWAP            CUBLAS_CSWAP 
268
#define CUBLAS_ZSWAP            CUBLAS_ZSWAP 
269
#define CUBLAS_CTRMV            CUBLAS_CTRMV 
270
#define CUBLAS_CDOTU            CUBLAS_CDOTU
271
#define CUBLAS_CDOTC            CUBLAS_CDOTC
272
#define CUBLAS_ICAMAX           CUBLAS_ICAMAX
273
#define CUBLAS_SCASUM           CUBLAS_SCASUM
274
#define CUBLAS_SCNRM2           CUBLAS_SCNRM2
275
#define CUBLAS_SGBMV            CUBLAS_SGBMV
276
#define CUBLAS_SGEMV            CUBLAS_SGEMV
277
#define CUBLAS_SGER             CUBLAS_SGER
278
#define CUBLAS_SSBMV            CUBLAS_SSBMV
279
#define CUBLAS_SSPMV            CUBLAS_SSPMV
280
#define CUBLAS_SSPR             CUBLAS_SSPR
281
#define CUBLAS_SSPR2            CUBLAS_SSPR2
282
#define CUBLAS_SSYMV            CUBLAS_SSYMV
283
#define CUBLAS_SSYR             CUBLAS_SSYR
284
#define CUBLAS_SSYR2            CUBLAS_SSYR2
285
#define CUBLAS_STBMV            CUBLAS_STBMV
286
#define CUBLAS_STBSV            CUBLAS_STBSV
287
#define CUBLAS_STPMV            CUBLAS_STPMV
288
#define CUBLAS_STPSV            CUBLAS_STPSV
289
#define CUBLAS_STRMV            CUBLAS_STRMV
290
#define CUBLAS_STRSV            CUBLAS_STRSV
291
#define CUBLAS_SGEMM            CUBLAS_SGEMM
292
#define CUBLAS_SSYMM            CUBLAS_SSYMM
293
#define CUBLAS_SSYR2K           CUBLAS_SSYR2K
294
#define CUBLAS_SSYRK            CUBLAS_SSYRK
295
#define CUBLAS_STRMM            CUBLAS_STRMM
296
#define CUBLAS_STRSM            CUBLAS_STRSM
297
#define CUBLAS_CGEMM            CUBLAS_CGEMM
298
#define CUBLAS_CHEMM            CUBLAS_CHEMM
299
#define CUBLAS_CSYMM            CUBLAS_CSYMM
300
#define CUBLAS_CTRMM            CUBLAS_CTRMM
301
#define CUBLAS_CTRSM            CUBLAS_CTRSM
302
#define CUBLAS_CHERK            CUBLAS_CHERK
303
#define CUBLAS_CSYRK            CUBLAS_CSYRK
304
#define CUBLAS_CHER2K           CUBLAS_CHER2K
305
#define CUBLAS_CSYR2K           CUBLAS_CSYR2K
306
#define CUBLAS_IDAMAX           CUBLAS_IDAMAX
307
#define CUBLAS_IDAMIN           CUBLAS_IDAMIN
308
#define CUBLAS_DASUM            CUBLAS_DASUM
309
#define CUBLAS_DAXPY            CUBLAS_DAXPY
310
#define CUBLAS_DCOPY            CUBLAS_DCOPY
311
#define CUBLAS_DDOT             CUBLAS_DDOT
312
#define CUBLAS_DNRM2            CUBLAS_DNRM2
313
#define CUBLAS_DROT             CUBLAS_DROT
314
#define CUBLAS_DROTG            CUBLAS_DROTG
315
#define CUBLAS_DROTM            CUBLAS_DROTM
316
#define CUBLAS_DROTMG           CUBLAS_DROTMG
317
#define CUBLAS_DSCAL            CUBLAS_DSCAL
318
#define CUBLAS_DSWAP            CUBLAS_DSWAP
319
#define CUBLAS_ZAXPY            CUBLAS_ZAXPY
320
#define CUBLAS_ZCOPY            CUBLAS_ZCOPY
321
#define CUBLAS_ZROT             CUBLAS_ZROT
322
#define CUBLAS_ZROTG            CUBLAS_ZROTG
323
#define CUBLAS_ZSCAL            CUBLAS_ZSCAL
324
#define CUBLAS_ZDROT            CUBLAS_ZDROT
325
#define CUBLAS_ZDSCAL           CUBLAS_ZDSCAL
326
#define CUBLAS_ZSWAP            CUBLAS_ZSWAP 
327
#define CUBLAS_ZDOTU            CUBLAS_ZDOTU
328
#define CUBLAS_ZDOTC            CUBLAS_ZDOTC
329
#define CUBLAS_IZAMAX           CUBLAS_IZAMAX
330
#define CUBLAS_DZASUM           CUBLAS_DZASUM
331
#define CUBLAS_DZNRM2           CUBLAS_DZNRM2
332
#define CUBLAS_DGBMV            CUBLAS_DGBMV
333
#define CUBLAS_DGEMV            CUBLAS_DGEMV
334
#define CUBLAS_ZGEMV            CUBLAS_ZGEMV
335
#define CUBLAS_DGER             CUBLAS_DGER
336
#define CUBLAS_DSBMV            CUBLAS_DSBMV
337
#define CUBLAS_DSPMV            CUBLAS_DSPMV
338
#define CUBLAS_DSPR             CUBLAS_DSPR
339
#define CUBLAS_DSPR2            CUBLAS_DSPR2
340
#define CUBLAS_DSYMV            CUBLAS_DSYMV
341
#define CUBLAS_DSYR             CUBLAS_DSYR
342
#define CUBLAS_DSYR2            CUBLAS_DSYR2
343
#define CUBLAS_DTBMV            CUBLAS_DTBMV
344
#define CUBLAS_DTBSV            CUBLAS_DTBSV
345
#define CUBLAS_DTPMV            CUBLAS_DTPMV
346
#define CUBLAS_DTPSV            CUBLAS_DTPSV
347
#define CUBLAS_DTRMV            CUBLAS_DTRMV
348
#define CUBLAS_DTRSV            CUBLAS_DTRSV
349
#define CUBLAS_DGEMM            CUBLAS_DGEMM
350
#define CUBLAS_DSYMM            CUBLAS_DSYMM
351
#define CUBLAS_DSYR2K           CUBLAS_DSYR2K
352
#define CUBLAS_ZSYRK            CUBLAS_ZSYRK
353
#define CUBLAS_DTRMM            CUBLAS_DTRMM
354
#define CUBLAS_DTRSM            CUBLAS_DTRSM
355
#define CUBLAS_ZGEMM            CUBLAS_ZGEMM
356
#define CUBLAS_ZHEMM            CUBLAS_ZHEMM
357
#define CUBLAS_ZSYMM            CUBLAS_ZSYMM
358
#define CUBLAS_ZTRMM            CUBLAS_ZTRMM
359
#define CUBLAS_ZTRSM            CUBLAS_ZTRSM
360
#define CUBLAS_ZHERK            CUBLAS_ZHERK
361
#define CUBLAS_ZSYRK            CUBLAS_ZSYRK
362
#define CUBLAS_ZHER2K           CUBLAS_ZHER2K
363
#define CUBLAS_ZSYR2K           CUBLAS_ZSYR2K
364

    
365
#define  CUBLAS_CGEMV           CUBLAS_CGEMV
366
#define  CUBLAS_CGBMV           CUBLAS_CGBMV
367
#define  CUBLAS_CHEMV           CUBLAS_CHEMV
368
#define  CUBLAS_CHBMV           CUBLAS_CHBMV
369
#define  CUBLAS_CHPMV           CUBLAS_CHPMV
370
#define  CUBLAS_CTBMV           CUBLAS_CTBMV
371
#define  CUBLAS_CTPMV           CUBLAS_CTPMV
372
#define  CUBLAS_CTRSV           CUBLAS_CTRSV
373
#define  CUBLAS_CTBSV           CUBLAS_CTBSV
374
#define  CUBLAS_CTPSV           CUBLAS_CTPSV
375
#define  CUBLAS_CGERC           CUBLAS_CGERC
376
#define  CUBLAS_CGERU           CUBLAS_CGERU
377
#define  CUBLAS_CHPR            CUBLAS_CHPR
378

    
379

    
380
// stubs for zblat2
381
#define CUBLAS_ZGBMV           CUBLAS_ZGBMV
382
#define CUBLAS_ZHEMV           CUBLAS_ZHEMV
383
#define CUBLAS_ZHBMV           CUBLAS_ZHBMV
384
#define CUBLAS_ZHPMV           CUBLAS_ZHPMV
385
#define CUBLAS_ZTRMV           CUBLAS_ZTRMV
386
#define CUBLAS_ZTBMV           CUBLAS_ZTBMV
387
#define CUBLAS_ZTPMV           CUBLAS_ZTPMV
388
#define CUBLAS_ZTRSV           CUBLAS_ZTRSV
389
#define CUBLAS_ZTBSV           CUBLAS_ZTBSV
390
#define CUBLAS_ZTPSV           CUBLAS_ZTPSV
391
#define CUBLAS_ZGERC           CUBLAS_ZGERC
392
#define CUBLAS_ZGERU           CUBLAS_ZGERU
393
#define CUBLAS_ZHER            CUBLAS_ZHER
394
#define CUBLAS_ZHPR            CUBLAS_ZHPR
395
#define CUBLAS_ZHER2           CUBLAS_ZHER2
396
#define CUBLAS_ZHPR2           CUBLAS_ZHPR2
397

    
398
#else
399
#error unsupported Fortran compiler
400
#endif