00001
00002
00003 #if TYPE == FLOAT
00004 #define ASUM cblas_sasum
00005 #define AXPY cblas_saxpy
00006 #define COPY cblas_scopy
00007 #define DOT cblas_sdot
00008 #define DOTU cblas_sdot
00009 #define DOTC cblas_sdot
00010 #define NRM2 cblas_snrm2
00011 #define ROT cblas_srot
00012 #define ROTG cblas_srotg
00013 #define ROTM cblas_srotm
00014 #define ROTMG cblas_srotmg
00015 #define SCAL cblas_sscal
00016 #define SWAP cblas_sswap
00017 #define AMAX cblas_isamax
00018 #define AMIN cblas_isamin
00019 #elif TYPE == DOUBLE
00020 #define ASUM cblas_dasum
00021 #define AXPY cblas_daxpy
00022 #define COPY cblas_dcopy
00023 #define DOT cblas_ddot
00024 #define DOTU cblas_ddot
00025 #define DOTC cblas_ddot
00026 #define NRM2 cblas_dnrm2
00027 #define ROT cblas_drot
00028 #define ROTG cblas_drotg
00029 #define ROTM cblas_drotm
00030 #define ROTMG cblas_drotmg
00031 #define SCAL cblas_dscal
00032 #define SWAP cblas_dswap
00033 #define AMAX cblas_idamax
00034 #define AMIN cblas_idamin
00035 #elif TYPE == COMPLEXFLOAT
00036 #define ASUM cblas_casum
00037 #define AXPY cblas_caxpy
00038 #define COPY cblas_ccopy
00039 #define DOT cblas_cdotc
00040 #define DOTU cblas_cdotu
00041 #define DOTC cblas_cdotc
00042 #define NRM2 cblas_scnrm2
00043 #define ROT cblas_srot
00044 #define ROTG cblas_srotg
00045 #define ROTM cblas_srotm
00046 #define ROTMG cblas_srotmg
00047 #define SCAL cblas_cscal
00048 #define SWAP cblas_cswap
00049 #define AMAX cblas_icamax
00050 #define AMIN cblas_icamin
00051 #elif TYPE == COMPLEXDOUBLE
00052 #define ASUM cblas_zasum
00053 #define AXPY cblas_zaxpy
00054 #define COPY cblas_zcopy
00055 #define DOT cblas_zdotc
00056 #define DOTU cblas_zdotu
00057 #define DOTC cblas_zdotc
00058 #define NRM2 cblas_dznrm2
00059 #define ROT cblas_drot
00060 #define ROTG cblas_drotg
00061 #define ROTM cblas_drotm
00062 #define ROTMG cblas_drotmg
00063 #define SCAL cblas_zscal
00064 #define SWAP cblas_zswap
00065 #define AMAX cblas_izamax
00066 #define AMIN cblas_izamin
00067 #endif