root / BLAS / xGEMM / fortran_common.h.orig @ 310
Historique | Voir | Annoter | Télécharger (17,44 ko)
| 1 |
/* |
|---|---|
| 2 |
* Copyright 1993-2012 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 |
|
| 51 |
|
| 52 |
/* Define CUBLAS_FORTRAN_COMPILER for Windows needed because |
| 53 |
tbe compilation is done from the perl script fortran_nightly.pl which |
| 54 |
does not include fortran_tools.mk |
| 55 |
On Linux and Apple, CFLAGS is setup with fortran_tools.mk |
| 56 |
*/ |
| 57 |
#if defined(_WIN32) |
| 58 |
#ifndef CUBLAS_INTEL_FORTRAN |
| 59 |
#define CUBLAS_INTEL_FORTRAN |
| 60 |
#endif |
| 61 |
#endif |
| 62 |
|
| 63 |
#if defined(CUBLAS_GFORTRAN) |
| 64 |
/* using option -ff2c make the ABI compatible with F77 |
| 65 |
No need to define RETURN_COMPLEX, which cause problem |
| 66 |
on Gfortran 4.x on 32 bit |
| 67 |
*/ |
| 68 |
/* #define RETURN_COMPLEX 1 */ |
| 69 |
#endif |
| 70 |
|
| 71 |
|
| 72 |
#if defined(CUBLAS_GFORTRAN) || defined (CUBLAS_G95) |
| 73 |
/* NOTE: Must use -fno-second-underscore when building Fortran source with g77 |
| 74 |
* g77 invocation may not use -fno-f2c, which forces different return |
| 75 |
* type conventions than the one used below |
| 76 |
*/ |
| 77 |
#define CUBLAS_INIT cublas_init_ |
| 78 |
#define CUBLAS_SHUTDOWN cublas_shutdown_ |
| 79 |
#define CUBLAS_ALLOC cublas_alloc_ |
| 80 |
#define CUBLAS_FREE cublas_free_ |
| 81 |
#define CUBLAS_SET_VECTOR cublas_set_vector_ |
| 82 |
#define CUBLAS_GET_VECTOR cublas_get_vector_ |
| 83 |
#define CUBLAS_SET_MATRIX cublas_set_matrix_ |
| 84 |
#define CUBLAS_GET_MATRIX cublas_get_matrix_ |
| 85 |
#define CUBLAS_GET_ERROR cublas_get_error_ |
| 86 |
#define CUBLAS_XERBLA cublas_xerbla_ |
| 87 |
#define CUBLAS_ISAMAX cublas_isamax_ |
| 88 |
#define CUBLAS_ISAMIN cublas_isamin_ |
| 89 |
#define CUBLAS_SASUM cublas_sasum_ |
| 90 |
#define CUBLAS_SAXPY cublas_saxpy_ |
| 91 |
#define CUBLAS_SCOPY cublas_scopy_ |
| 92 |
#define CUBLAS_SDOT cublas_sdot_ |
| 93 |
#define CUBLAS_SNRM2 cublas_snrm2_ |
| 94 |
#define CUBLAS_SROT cublas_srot_ |
| 95 |
#define CUBLAS_SROTG cublas_srotg_ |
| 96 |
#define CUBLAS_SROTM cublas_srotm_ |
| 97 |
#define CUBLAS_SROTMG cublas_srotmg_ |
| 98 |
#define CUBLAS_SSCAL cublas_sscal_ |
| 99 |
#define CUBLAS_SSWAP cublas_sswap_ |
| 100 |
#define CUBLAS_CAXPY cublas_caxpy_ |
| 101 |
#define CUBLAS_CCOPY cublas_ccopy_ |
| 102 |
#define CUBLAS_CROT cublas_crot_ |
| 103 |
#define CUBLAS_CROTG cublas_crotg_ |
| 104 |
#define CUBLAS_CSCAL cublas_cscal_ |
| 105 |
#define CUBLAS_CSROT cublas_csrot_ |
| 106 |
#define CUBLAS_CSSCAL cublas_csscal_ |
| 107 |
#define CUBLAS_CSWAP cublas_cswap_ |
| 108 |
#define CUBLAS_CTRMV cublas_ctrmv_ |
| 109 |
#define CUBLAS_CDOTU cublas_cdotu_ |
| 110 |
#define CUBLAS_CDOTC cublas_cdotc_ |
| 111 |
#define CUBLAS_ICAMAX cublas_icamax_ |
| 112 |
#define CUBLAS_SCASUM cublas_scasum_ |
| 113 |
#define CUBLAS_SCNRM2 cublas_scnrm2_ |
| 114 |
#define CUBLAS_SGBMV cublas_sgbmv_ |
| 115 |
#define CUBLAS_SGEMV cublas_sgemv_ |
| 116 |
#define CUBLAS_SGER cublas_sger_ |
| 117 |
#define CUBLAS_SSBMV cublas_ssbmv_ |
| 118 |
#define CUBLAS_SSPMV cublas_sspmv_ |
| 119 |
#define CUBLAS_SSPR cublas_sspr_ |
| 120 |
#define CUBLAS_SSPR2 cublas_sspr2_ |
| 121 |
#define CUBLAS_SSYMV cublas_ssymv_ |
| 122 |
#define CUBLAS_SSYR cublas_ssyr_ |
| 123 |
#define CUBLAS_SSYR2 cublas_ssyr2_ |
| 124 |
#define CUBLAS_STBMV cublas_stbmv_ |
| 125 |
#define CUBLAS_STBSV cublas_stbsv_ |
| 126 |
#define CUBLAS_STPMV cublas_stpmv_ |
| 127 |
#define CUBLAS_STPSV cublas_stpsv_ |
| 128 |
#define CUBLAS_STRMV cublas_strmv_ |
| 129 |
#define CUBLAS_STRSV cublas_strsv_ |
| 130 |
#define CUBLAS_SGEMM cublas_sgemm_ |
| 131 |
#define CUBLAS_SSYMM cublas_ssymm_ |
| 132 |
#define CUBLAS_SSYR2K cublas_ssyr2k_ |
| 133 |
#define CUBLAS_SSYRK cublas_ssyrk_ |
| 134 |
#define CUBLAS_STRMM cublas_strmm_ |
| 135 |
#define CUBLAS_STRSM cublas_strsm_ |
| 136 |
#define CUBLAS_CGEMM cublas_cgemm_ |
| 137 |
#define CUBLAS_CHEMM cublas_chemm_ |
| 138 |
#define CUBLAS_CSYMM cublas_csymm_ |
| 139 |
#define CUBLAS_CTRMM cublas_ctrmm_ |
| 140 |
#define CUBLAS_CTRSM cublas_ctrsm_ |
| 141 |
#define CUBLAS_CHERK cublas_cherk_ |
| 142 |
#define CUBLAS_CSYRK cublas_csyrk_ |
| 143 |
#define CUBLAS_CHER2K cublas_cher2k_ |
| 144 |
#define CUBLAS_CSYR2K cublas_csyr2k_ |
| 145 |
#define CUBLAS_IDAMAX cublas_idamax_ |
| 146 |
#define CUBLAS_IDAMIN cublas_idamin_ |
| 147 |
#define CUBLAS_DASUM cublas_dasum_ |
| 148 |
#define CUBLAS_DAXPY cublas_daxpy_ |
| 149 |
#define CUBLAS_DCOPY cublas_dcopy_ |
| 150 |
#define CUBLAS_DDOT cublas_ddot_ |
| 151 |
#define CUBLAS_DNRM2 cublas_dnrm2_ |
| 152 |
#define CUBLAS_DROT cublas_drot_ |
| 153 |
#define CUBLAS_DROTG cublas_drotg_ |
| 154 |
#define CUBLAS_DROTM cublas_drotm_ |
| 155 |
#define CUBLAS_DROTMG cublas_drotmg_ |
| 156 |
#define CUBLAS_DSCAL cublas_dscal_ |
| 157 |
#define CUBLAS_DSWAP cublas_dswap_ |
| 158 |
#define CUBLAS_ZAXPY cublas_zaxpy_ |
| 159 |
#define CUBLAS_ZCOPY cublas_zcopy_ |
| 160 |
#define CUBLAS_ZROT cublas_zrot_ |
| 161 |
#define CUBLAS_ZROTG cublas_zrotg_ |
| 162 |
#define CUBLAS_ZSCAL cublas_zscal_ |
| 163 |
#define CUBLAS_ZDROT cublas_zdrot_ |
| 164 |
#define CUBLAS_ZDSCAL cublas_zdscal_ |
| 165 |
#define CUBLAS_ZSWAP cublas_zswap_ |
| 166 |
#define CUBLAS_ZDOTU cublas_zdotu_ |
| 167 |
#define CUBLAS_ZDOTC cublas_zdotc_ |
| 168 |
#define CUBLAS_IZAMAX cublas_izamax_ |
| 169 |
#define CUBLAS_DZASUM cublas_dzasum_ |
| 170 |
#define CUBLAS_DZNRM2 cublas_dznrm2_ |
| 171 |
#define CUBLAS_DGBMV cublas_dgbmv_ |
| 172 |
#define CUBLAS_DGEMV cublas_dgemv_ |
| 173 |
#define CUBLAS_ZGEMV cublas_zgemv_ |
| 174 |
#define CUBLAS_DGER cublas_dger_ |
| 175 |
#define CUBLAS_DSBMV cublas_dsbmv_ |
| 176 |
#define CUBLAS_DSPMV cublas_dspmv_ |
| 177 |
#define CUBLAS_DSPR cublas_dspr_ |
| 178 |
#define CUBLAS_DSPR2 cublas_dspr2_ |
| 179 |
#define CUBLAS_DSYMV cublas_dsymv_ |
| 180 |
#define CUBLAS_DSYR cublas_dsyr_ |
| 181 |
#define CUBLAS_DSYR2 cublas_dsyr2_ |
| 182 |
#define CUBLAS_DTBMV cublas_dtbmv_ |
| 183 |
#define CUBLAS_DTBSV cublas_dtbsv_ |
| 184 |
#define CUBLAS_DTPMV cublas_dtpmv_ |
| 185 |
#define CUBLAS_DTPSV cublas_dtpsv_ |
| 186 |
#define CUBLAS_DTRMV cublas_dtrmv_ |
| 187 |
#define CUBLAS_DTRSV cublas_dtrsv_ |
| 188 |
#define CUBLAS_DGEMM cublas_dgemm_ |
| 189 |
#define CUBLAS_DSYMM cublas_dsymm_ |
| 190 |
#define CUBLAS_DSYR2K cublas_dsyr2k_ |
| 191 |
#define CUBLAS_DSYRK cublas_dsyrk_ |
| 192 |
#define CUBLAS_ZSYRK cublas_zsyrk_ |
| 193 |
#define CUBLAS_DTRMM cublas_dtrmm_ |
| 194 |
#define CUBLAS_DTRSM cublas_dtrsm_ |
| 195 |
#define CUBLAS_ZGEMM cublas_zgemm_ |
| 196 |
#define CUBLAS_ZHEMM cublas_zhemm_ |
| 197 |
#define CUBLAS_ZSYMM cublas_zsymm_ |
| 198 |
#define CUBLAS_ZTRMM cublas_ztrmm_ |
| 199 |
#define CUBLAS_ZTRSM cublas_ztrsm_ |
| 200 |
#define CUBLAS_ZHERK cublas_zherk_ |
| 201 |
#define CUBLAS_ZSYRK cublas_zsyrk_ |
| 202 |
#define CUBLAS_ZHER2K cublas_zher2k_ |
| 203 |
#define CUBLAS_ZSYR2K cublas_zsyr2k_ |
| 204 |
|
| 205 |
#define CUBLAS_CGEMV cublas_cgemv_ |
| 206 |
#define CUBLAS_CGBMV cublas_cgbmv_ |
| 207 |
#define CUBLAS_CHEMV cublas_chemv_ |
| 208 |
#define CUBLAS_CHBMV cublas_chbmv_ |
| 209 |
#define CUBLAS_CHPMV cublas_chpmv_ |
| 210 |
#define CUBLAS_CTBMV cublas_ctbmv_ |
| 211 |
#define CUBLAS_CTPMV cublas_ctpmv_ |
| 212 |
#define CUBLAS_CTRSV cublas_ctrsv_ |
| 213 |
#define CUBLAS_CTBSV cublas_ctbsv_ |
| 214 |
#define CUBLAS_CTPSV cublas_ctpsv_ |
| 215 |
#define CUBLAS_CGERC cublas_cgerc_ |
| 216 |
#define CUBLAS_CGERU cublas_cgeru_ |
| 217 |
#define CUBLAS_CHPR cublas_chpr_ |
| 218 |
#define CUBLAS_CHPR2 cublas_chpr2_ |
| 219 |
#define CUBLAS_CHER cublas_cher_ |
| 220 |
#define CUBLAS_CHER2 cublas_cher2_ |
| 221 |
|
| 222 |
// stubs for zblat2 |
| 223 |
#define CUBLAS_ZGBMV cublas_zgbmv_ |
| 224 |
#define CUBLAS_ZHEMV cublas_zhemv_ |
| 225 |
#define CUBLAS_ZHBMV cublas_zhbmv_ |
| 226 |
#define CUBLAS_ZHPMV cublas_zhpmv_ |
| 227 |
#define CUBLAS_ZTRMV cublas_ztrmv_ |
| 228 |
#define CUBLAS_ZTBMV cublas_ztbmv_ |
| 229 |
#define CUBLAS_ZTPMV cublas_ztpmv_ |
| 230 |
#define CUBLAS_ZTRSV cublas_ztrsv_ |
| 231 |
#define CUBLAS_ZTBSV cublas_ztbsv_ |
| 232 |
#define CUBLAS_ZTPSV cublas_ztpsv_ |
| 233 |
#define CUBLAS_ZGERC cublas_zgerc_ |
| 234 |
#define CUBLAS_ZGERU cublas_zgeru_ |
| 235 |
#define CUBLAS_ZHER cublas_zher_ |
| 236 |
#define CUBLAS_ZHPR cublas_zhpr_ |
| 237 |
#define CUBLAS_ZHER2 cublas_zher2_ |
| 238 |
#define CUBLAS_ZHPR2 cublas_zhpr2_ |
| 239 |
|
| 240 |
#elif defined(CUBLAS_INTEL_FORTRAN) |
| 241 |
|
| 242 |
#define CUBLAS_INIT CUBLAS_INIT |
| 243 |
#define CUBLAS_SHUTDOWN CUBLAS_SHUTDOWN |
| 244 |
#define CUBLAS_ALLOC CUBLAS_ALLOC |
| 245 |
#define CUBLAS_FREE CUBLAS_FREE |
| 246 |
#define CUBLAS_SET_VECTOR CUBLAS_SET_VECTOR |
| 247 |
#define CUBLAS_GET_VECTOR CUBLAS_GET_VECTOR |
| 248 |
#define CUBLAS_SET_MATRIX CUBLAS_SET_MATRIX |
| 249 |
#define CUBLAS_GET_MATRIX CUBLAS_GET_MATRIX |
| 250 |
#define CUBLAS_GET_ERROR CUBLAS_GET_ERROR |
| 251 |
#define CUBLAS_XERBLA CUBLAS_XERBLA |
| 252 |
#define CUBLAS_ISAMAX CUBLAS_ISAMAX |
| 253 |
#define CUBLAS_ISAMIN CUBLAS_ISAMIN |
| 254 |
#define CUBLAS_SASUM CUBLAS_SASUM |
| 255 |
#define CUBLAS_SAXPY CUBLAS_SAXPY |
| 256 |
#define CUBLAS_SCOPY CUBLAS_SCOPY |
| 257 |
#define CUBLAS_SDOT CUBLAS_SDOT |
| 258 |
#define CUBLAS_SNRM2 CUBLAS_SNRM2 |
| 259 |
#define CUBLAS_SROT CUBLAS_SROT |
| 260 |
#define CUBLAS_SROTG CUBLAS_SROTG |
| 261 |
#define CUBLAS_SROTM CUBLAS_SROTM |
| 262 |
#define CUBLAS_SROTMG CUBLAS_SROTMG |
| 263 |
#define CUBLAS_SSCAL CUBLAS_SSCAL |
| 264 |
#define CUBLAS_SSWAP CUBLAS_SSWAP |
| 265 |
#define CUBLAS_CAXPY CUBLAS_CAXPY |
| 266 |
#define CUBLAS_CCOPY CUBLAS_CCOPY |
| 267 |
#define CUBLAS_ZCOPY CUBLAS_ZCOPY |
| 268 |
#define CUBLAS_CROT CUBLAS_CROT |
| 269 |
#define CUBLAS_CROTG CUBLAS_CROTG |
| 270 |
#define CUBLAS_CSCAL CUBLAS_CSCAL |
| 271 |
#define CUBLAS_CSROT CUBLAS_CSROT |
| 272 |
#define CUBLAS_CSSCAL CUBLAS_CSSCAL |
| 273 |
#define CUBLAS_CSWAP CUBLAS_CSWAP |
| 274 |
#define CUBLAS_ZSWAP CUBLAS_ZSWAP |
| 275 |
#define CUBLAS_CTRMV CUBLAS_CTRMV |
| 276 |
#define CUBLAS_CDOTU CUBLAS_CDOTU |
| 277 |
#define CUBLAS_CDOTC CUBLAS_CDOTC |
| 278 |
#define CUBLAS_ICAMAX CUBLAS_ICAMAX |
| 279 |
#define CUBLAS_SCASUM CUBLAS_SCASUM |
| 280 |
#define CUBLAS_SCNRM2 CUBLAS_SCNRM2 |
| 281 |
#define CUBLAS_SGBMV CUBLAS_SGBMV |
| 282 |
#define CUBLAS_SGEMV CUBLAS_SGEMV |
| 283 |
#define CUBLAS_SGER CUBLAS_SGER |
| 284 |
#define CUBLAS_SSBMV CUBLAS_SSBMV |
| 285 |
#define CUBLAS_SSPMV CUBLAS_SSPMV |
| 286 |
#define CUBLAS_SSPR CUBLAS_SSPR |
| 287 |
#define CUBLAS_SSPR2 CUBLAS_SSPR2 |
| 288 |
#define CUBLAS_SSYMV CUBLAS_SSYMV |
| 289 |
#define CUBLAS_SSYR CUBLAS_SSYR |
| 290 |
#define CUBLAS_SSYR2 CUBLAS_SSYR2 |
| 291 |
#define CUBLAS_STBMV CUBLAS_STBMV |
| 292 |
#define CUBLAS_STBSV CUBLAS_STBSV |
| 293 |
#define CUBLAS_STPMV CUBLAS_STPMV |
| 294 |
#define CUBLAS_STPSV CUBLAS_STPSV |
| 295 |
#define CUBLAS_STRMV CUBLAS_STRMV |
| 296 |
#define CUBLAS_STRSV CUBLAS_STRSV |
| 297 |
#define CUBLAS_SGEMM CUBLAS_SGEMM |
| 298 |
#define CUBLAS_SSYMM CUBLAS_SSYMM |
| 299 |
#define CUBLAS_SSYR2K CUBLAS_SSYR2K |
| 300 |
#define CUBLAS_SSYRK CUBLAS_SSYRK |
| 301 |
#define CUBLAS_STRMM CUBLAS_STRMM |
| 302 |
#define CUBLAS_STRSM CUBLAS_STRSM |
| 303 |
#define CUBLAS_CGEMM CUBLAS_CGEMM |
| 304 |
#define CUBLAS_CHEMM CUBLAS_CHEMM |
| 305 |
#define CUBLAS_CSYMM CUBLAS_CSYMM |
| 306 |
#define CUBLAS_CTRMM CUBLAS_CTRMM |
| 307 |
#define CUBLAS_CTRSM CUBLAS_CTRSM |
| 308 |
#define CUBLAS_CHERK CUBLAS_CHERK |
| 309 |
#define CUBLAS_CSYRK CUBLAS_CSYRK |
| 310 |
#define CUBLAS_CHER2K CUBLAS_CHER2K |
| 311 |
#define CUBLAS_CSYR2K CUBLAS_CSYR2K |
| 312 |
#define CUBLAS_IDAMAX CUBLAS_IDAMAX |
| 313 |
#define CUBLAS_IDAMIN CUBLAS_IDAMIN |
| 314 |
#define CUBLAS_DASUM CUBLAS_DASUM |
| 315 |
#define CUBLAS_DAXPY CUBLAS_DAXPY |
| 316 |
#define CUBLAS_DCOPY CUBLAS_DCOPY |
| 317 |
#define CUBLAS_DDOT CUBLAS_DDOT |
| 318 |
#define CUBLAS_DNRM2 CUBLAS_DNRM2 |
| 319 |
#define CUBLAS_DROT CUBLAS_DROT |
| 320 |
#define CUBLAS_DROTG CUBLAS_DROTG |
| 321 |
#define CUBLAS_DROTM CUBLAS_DROTM |
| 322 |
#define CUBLAS_DROTMG CUBLAS_DROTMG |
| 323 |
#define CUBLAS_DSCAL CUBLAS_DSCAL |
| 324 |
#define CUBLAS_DSWAP CUBLAS_DSWAP |
| 325 |
#define CUBLAS_ZAXPY CUBLAS_ZAXPY |
| 326 |
#define CUBLAS_ZCOPY CUBLAS_ZCOPY |
| 327 |
#define CUBLAS_ZROT CUBLAS_ZROT |
| 328 |
#define CUBLAS_ZROTG CUBLAS_ZROTG |
| 329 |
#define CUBLAS_ZSCAL CUBLAS_ZSCAL |
| 330 |
#define CUBLAS_ZDROT CUBLAS_ZDROT |
| 331 |
#define CUBLAS_ZDSCAL CUBLAS_ZDSCAL |
| 332 |
#define CUBLAS_ZSWAP CUBLAS_ZSWAP |
| 333 |
#define CUBLAS_ZDOTU CUBLAS_ZDOTU |
| 334 |
#define CUBLAS_ZDOTC CUBLAS_ZDOTC |
| 335 |
#define CUBLAS_IZAMAX CUBLAS_IZAMAX |
| 336 |
#define CUBLAS_DZASUM CUBLAS_DZASUM |
| 337 |
#define CUBLAS_DZNRM2 CUBLAS_DZNRM2 |
| 338 |
#define CUBLAS_DGBMV CUBLAS_DGBMV |
| 339 |
#define CUBLAS_DGEMV CUBLAS_DGEMV |
| 340 |
#define CUBLAS_ZGEMV CUBLAS_ZGEMV |
| 341 |
#define CUBLAS_DGER CUBLAS_DGER |
| 342 |
#define CUBLAS_DSBMV CUBLAS_DSBMV |
| 343 |
#define CUBLAS_DSPMV CUBLAS_DSPMV |
| 344 |
#define CUBLAS_DSPR CUBLAS_DSPR |
| 345 |
#define CUBLAS_DSPR2 CUBLAS_DSPR2 |
| 346 |
#define CUBLAS_DSYMV CUBLAS_DSYMV |
| 347 |
#define CUBLAS_DSYR CUBLAS_DSYR |
| 348 |
#define CUBLAS_DSYR2 CUBLAS_DSYR2 |
| 349 |
#define CUBLAS_DTBMV CUBLAS_DTBMV |
| 350 |
#define CUBLAS_DTBSV CUBLAS_DTBSV |
| 351 |
#define CUBLAS_DTPMV CUBLAS_DTPMV |
| 352 |
#define CUBLAS_DTPSV CUBLAS_DTPSV |
| 353 |
#define CUBLAS_DTRMV CUBLAS_DTRMV |
| 354 |
#define CUBLAS_DTRSV CUBLAS_DTRSV |
| 355 |
#define CUBLAS_DGEMM CUBLAS_DGEMM |
| 356 |
#define CUBLAS_DSYMM CUBLAS_DSYMM |
| 357 |
#define CUBLAS_DSYR2K CUBLAS_DSYR2K |
| 358 |
#define CUBLAS_ZSYRK CUBLAS_ZSYRK |
| 359 |
#define CUBLAS_DTRMM CUBLAS_DTRMM |
| 360 |
#define CUBLAS_DTRSM CUBLAS_DTRSM |
| 361 |
#define CUBLAS_ZGEMM CUBLAS_ZGEMM |
| 362 |
#define CUBLAS_ZHEMM CUBLAS_ZHEMM |
| 363 |
#define CUBLAS_ZSYMM CUBLAS_ZSYMM |
| 364 |
#define CUBLAS_ZTRMM CUBLAS_ZTRMM |
| 365 |
#define CUBLAS_ZTRSM CUBLAS_ZTRSM |
| 366 |
#define CUBLAS_ZHERK CUBLAS_ZHERK |
| 367 |
#define CUBLAS_ZSYRK CUBLAS_ZSYRK |
| 368 |
#define CUBLAS_ZHER2K CUBLAS_ZHER2K |
| 369 |
#define CUBLAS_ZSYR2K CUBLAS_ZSYR2K |
| 370 |
|
| 371 |
#define CUBLAS_CGEMV CUBLAS_CGEMV |
| 372 |
#define CUBLAS_CGBMV CUBLAS_CGBMV |
| 373 |
#define CUBLAS_CHEMV CUBLAS_CHEMV |
| 374 |
#define CUBLAS_CHBMV CUBLAS_CHBMV |
| 375 |
#define CUBLAS_CHPMV CUBLAS_CHPMV |
| 376 |
#define CUBLAS_CTBMV CUBLAS_CTBMV |
| 377 |
#define CUBLAS_CTPMV CUBLAS_CTPMV |
| 378 |
#define CUBLAS_CTRSV CUBLAS_CTRSV |
| 379 |
#define CUBLAS_CTBSV CUBLAS_CTBSV |
| 380 |
#define CUBLAS_CTPSV CUBLAS_CTPSV |
| 381 |
#define CUBLAS_CGERC CUBLAS_CGERC |
| 382 |
#define CUBLAS_CGERU CUBLAS_CGERU |
| 383 |
#define CUBLAS_CHPR CUBLAS_CHPR |
| 384 |
|
| 385 |
|
| 386 |
// stubs for zblat2 |
| 387 |
#define CUBLAS_ZGBMV CUBLAS_ZGBMV |
| 388 |
#define CUBLAS_ZHEMV CUBLAS_ZHEMV |
| 389 |
#define CUBLAS_ZHBMV CUBLAS_ZHBMV |
| 390 |
#define CUBLAS_ZHPMV CUBLAS_ZHPMV |
| 391 |
#define CUBLAS_ZTRMV CUBLAS_ZTRMV |
| 392 |
#define CUBLAS_ZTBMV CUBLAS_ZTBMV |
| 393 |
#define CUBLAS_ZTPMV CUBLAS_ZTPMV |
| 394 |
#define CUBLAS_ZTRSV CUBLAS_ZTRSV |
| 395 |
#define CUBLAS_ZTBSV CUBLAS_ZTBSV |
| 396 |
#define CUBLAS_ZTPSV CUBLAS_ZTPSV |
| 397 |
#define CUBLAS_ZGERC CUBLAS_ZGERC |
| 398 |
#define CUBLAS_ZGERU CUBLAS_ZGERU |
| 399 |
#define CUBLAS_ZHER CUBLAS_ZHER |
| 400 |
#define CUBLAS_ZHPR CUBLAS_ZHPR |
| 401 |
#define CUBLAS_ZHER2 CUBLAS_ZHER2 |
| 402 |
#define CUBLAS_ZHPR2 CUBLAS_ZHPR2 |
| 403 |
|
| 404 |
#else |
| 405 |
#error unsupported Fortran compiler |
| 406 |
#endif |