|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* cblas_test.h
|
|
kusano |
2b45e8 |
* Written by Keita Teranishi
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#ifndef CBLAS_TEST_H
|
|
kusano |
2b45e8 |
#define CBLAS_TEST_H
|
|
kusano |
2b45e8 |
#include "cblas.h"
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef USE64BITINT
|
|
kusano |
2b45e8 |
#define int long
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define TRUE 1
|
|
kusano |
2b45e8 |
#define PASSED 1
|
|
kusano |
2b45e8 |
#define TEST_ROW_MJR 1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define FALSE 0
|
|
kusano |
2b45e8 |
#define FAILED 0
|
|
kusano |
2b45e8 |
#define TEST_COL_MJR 0
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define INVALID -1
|
|
kusano |
2b45e8 |
#define UNDEFINED -1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
typedef struct { float real; float imag; } CBLAS_TEST_COMPLEX;
|
|
kusano |
2b45e8 |
typedef struct { double real; double imag; } CBLAS_TEST_ZOMPLEX;
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(ADD_)
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 1 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_srotg srotgtest_
|
|
kusano |
2b45e8 |
#define F77_srotmg srotmgtest_
|
|
kusano |
2b45e8 |
#define F77_srot srottest_
|
|
kusano |
2b45e8 |
#define F77_srotm srotmtest_
|
|
kusano |
2b45e8 |
#define F77_drotg drotgtest_
|
|
kusano |
2b45e8 |
#define F77_drotmg drotmgtest_
|
|
kusano |
2b45e8 |
#define F77_drot drottest_
|
|
kusano |
2b45e8 |
#define F77_drotm drotmtest_
|
|
kusano |
2b45e8 |
#define F77_sswap sswaptest_
|
|
kusano |
2b45e8 |
#define F77_scopy scopytest_
|
|
kusano |
2b45e8 |
#define F77_saxpy saxpytest_
|
|
kusano |
2b45e8 |
#define F77_isamax isamaxtest_
|
|
kusano |
2b45e8 |
#define F77_dswap dswaptest_
|
|
kusano |
2b45e8 |
#define F77_dcopy dcopytest_
|
|
kusano |
2b45e8 |
#define F77_daxpy daxpytest_
|
|
kusano |
2b45e8 |
#define F77_idamax idamaxtest_
|
|
kusano |
2b45e8 |
#define F77_cswap cswaptest_
|
|
kusano |
2b45e8 |
#define F77_ccopy ccopytest_
|
|
kusano |
2b45e8 |
#define F77_caxpy caxpytest_
|
|
kusano |
2b45e8 |
#define F77_icamax icamaxtest_
|
|
kusano |
2b45e8 |
#define F77_zswap zswaptest_
|
|
kusano |
2b45e8 |
#define F77_zcopy zcopytest_
|
|
kusano |
2b45e8 |
#define F77_zaxpy zaxpytest_
|
|
kusano |
2b45e8 |
#define F77_izamax izamaxtest_
|
|
kusano |
2b45e8 |
#define F77_sdot sdottest_
|
|
kusano |
2b45e8 |
#define F77_ddot ddottest_
|
|
kusano |
2b45e8 |
#define F77_dsdot dsdottest_
|
|
kusano |
2b45e8 |
#define F77_sscal sscaltest_
|
|
kusano |
2b45e8 |
#define F77_dscal dscaltest_
|
|
kusano |
2b45e8 |
#define F77_cscal cscaltest_
|
|
kusano |
2b45e8 |
#define F77_zscal zscaltest_
|
|
kusano |
2b45e8 |
#define F77_csscal csscaltest_
|
|
kusano |
2b45e8 |
#define F77_zdscal zdscaltest_
|
|
kusano |
2b45e8 |
#define F77_cdotu cdotutest_
|
|
kusano |
2b45e8 |
#define F77_cdotc cdotctest_
|
|
kusano |
2b45e8 |
#define F77_zdotu zdotutest_
|
|
kusano |
2b45e8 |
#define F77_zdotc zdotctest_
|
|
kusano |
2b45e8 |
#define F77_snrm2 snrm2test_
|
|
kusano |
2b45e8 |
#define F77_sasum sasumtest_
|
|
kusano |
2b45e8 |
#define F77_dnrm2 dnrm2test_
|
|
kusano |
2b45e8 |
#define F77_dasum dasumtest_
|
|
kusano |
2b45e8 |
#define F77_scnrm2 scnrm2test_
|
|
kusano |
2b45e8 |
#define F77_scasum scasumtest_
|
|
kusano |
2b45e8 |
#define F77_dznrm2 dznrm2test_
|
|
kusano |
2b45e8 |
#define F77_dzasum dzasumtest_
|
|
kusano |
2b45e8 |
#define F77_sdsdot sdsdottest_
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 2 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_s2chke cs2chke_
|
|
kusano |
2b45e8 |
#define F77_d2chke cd2chke_
|
|
kusano |
2b45e8 |
#define F77_c2chke cc2chke_
|
|
kusano |
2b45e8 |
#define F77_z2chke cz2chke_
|
|
kusano |
2b45e8 |
#define F77_ssymv cssymv_
|
|
kusano |
2b45e8 |
#define F77_ssbmv cssbmv_
|
|
kusano |
2b45e8 |
#define F77_sspmv csspmv_
|
|
kusano |
2b45e8 |
#define F77_sger csger_
|
|
kusano |
2b45e8 |
#define F77_ssyr cssyr_
|
|
kusano |
2b45e8 |
#define F77_sspr csspr_
|
|
kusano |
2b45e8 |
#define F77_ssyr2 cssyr2_
|
|
kusano |
2b45e8 |
#define F77_sspr2 csspr2_
|
|
kusano |
2b45e8 |
#define F77_dsymv cdsymv_
|
|
kusano |
2b45e8 |
#define F77_dsbmv cdsbmv_
|
|
kusano |
2b45e8 |
#define F77_dspmv cdspmv_
|
|
kusano |
2b45e8 |
#define F77_dger cdger_
|
|
kusano |
2b45e8 |
#define F77_dsyr cdsyr_
|
|
kusano |
2b45e8 |
#define F77_dspr cdspr_
|
|
kusano |
2b45e8 |
#define F77_dsyr2 cdsyr2_
|
|
kusano |
2b45e8 |
#define F77_dspr2 cdspr2_
|
|
kusano |
2b45e8 |
#define F77_chemv cchemv_
|
|
kusano |
2b45e8 |
#define F77_chbmv cchbmv_
|
|
kusano |
2b45e8 |
#define F77_chpmv cchpmv_
|
|
kusano |
2b45e8 |
#define F77_cgeru ccgeru_
|
|
kusano |
2b45e8 |
#define F77_cgerc ccgerc_
|
|
kusano |
2b45e8 |
#define F77_cher ccher_
|
|
kusano |
2b45e8 |
#define F77_chpr cchpr_
|
|
kusano |
2b45e8 |
#define F77_cher2 ccher2_
|
|
kusano |
2b45e8 |
#define F77_chpr2 cchpr2_
|
|
kusano |
2b45e8 |
#define F77_zhemv czhemv_
|
|
kusano |
2b45e8 |
#define F77_zhbmv czhbmv_
|
|
kusano |
2b45e8 |
#define F77_zhpmv czhpmv_
|
|
kusano |
2b45e8 |
#define F77_zgeru czgeru_
|
|
kusano |
2b45e8 |
#define F77_zgerc czgerc_
|
|
kusano |
2b45e8 |
#define F77_zher czher_
|
|
kusano |
2b45e8 |
#define F77_zhpr czhpr_
|
|
kusano |
2b45e8 |
#define F77_zher2 czher2_
|
|
kusano |
2b45e8 |
#define F77_zhpr2 czhpr2_
|
|
kusano |
2b45e8 |
#define F77_sgemv csgemv_
|
|
kusano |
2b45e8 |
#define F77_sgbmv csgbmv_
|
|
kusano |
2b45e8 |
#define F77_strmv cstrmv_
|
|
kusano |
2b45e8 |
#define F77_stbmv cstbmv_
|
|
kusano |
2b45e8 |
#define F77_stpmv cstpmv_
|
|
kusano |
2b45e8 |
#define F77_strsv cstrsv_
|
|
kusano |
2b45e8 |
#define F77_stbsv cstbsv_
|
|
kusano |
2b45e8 |
#define F77_stpsv cstpsv_
|
|
kusano |
2b45e8 |
#define F77_dgemv cdgemv_
|
|
kusano |
2b45e8 |
#define F77_dgbmv cdgbmv_
|
|
kusano |
2b45e8 |
#define F77_dtrmv cdtrmv_
|
|
kusano |
2b45e8 |
#define F77_dtbmv cdtbmv_
|
|
kusano |
2b45e8 |
#define F77_dtpmv cdtpmv_
|
|
kusano |
2b45e8 |
#define F77_dtrsv cdtrsv_
|
|
kusano |
2b45e8 |
#define F77_dtbsv cdtbsv_
|
|
kusano |
2b45e8 |
#define F77_dtpsv cdtpsv_
|
|
kusano |
2b45e8 |
#define F77_cgemv ccgemv_
|
|
kusano |
2b45e8 |
#define F77_cgbmv ccgbmv_
|
|
kusano |
2b45e8 |
#define F77_ctrmv cctrmv_
|
|
kusano |
2b45e8 |
#define F77_ctbmv cctbmv_
|
|
kusano |
2b45e8 |
#define F77_ctpmv cctpmv_
|
|
kusano |
2b45e8 |
#define F77_ctrsv cctrsv_
|
|
kusano |
2b45e8 |
#define F77_ctbsv cctbsv_
|
|
kusano |
2b45e8 |
#define F77_ctpsv cctpsv_
|
|
kusano |
2b45e8 |
#define F77_zgemv czgemv_
|
|
kusano |
2b45e8 |
#define F77_zgbmv czgbmv_
|
|
kusano |
2b45e8 |
#define F77_ztrmv cztrmv_
|
|
kusano |
2b45e8 |
#define F77_ztbmv cztbmv_
|
|
kusano |
2b45e8 |
#define F77_ztpmv cztpmv_
|
|
kusano |
2b45e8 |
#define F77_ztrsv cztrsv_
|
|
kusano |
2b45e8 |
#define F77_ztbsv cztbsv_
|
|
kusano |
2b45e8 |
#define F77_ztpsv cztpsv_
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 3 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_s3chke cs3chke_
|
|
kusano |
2b45e8 |
#define F77_d3chke cd3chke_
|
|
kusano |
2b45e8 |
#define F77_c3chke cc3chke_
|
|
kusano |
2b45e8 |
#define F77_z3chke cz3chke_
|
|
kusano |
2b45e8 |
#define F77_chemm cchemm_
|
|
kusano |
2b45e8 |
#define F77_cherk ccherk_
|
|
kusano |
2b45e8 |
#define F77_cher2k ccher2k_
|
|
kusano |
2b45e8 |
#define F77_zhemm czhemm_
|
|
kusano |
2b45e8 |
#define F77_zherk czherk_
|
|
kusano |
2b45e8 |
#define F77_zher2k czher2k_
|
|
kusano |
2b45e8 |
#define F77_sgemm csgemm_
|
|
kusano |
2b45e8 |
#define F77_ssymm cssymm_
|
|
kusano |
2b45e8 |
#define F77_ssyrk cssyrk_
|
|
kusano |
2b45e8 |
#define F77_ssyr2k cssyr2k_
|
|
kusano |
2b45e8 |
#define F77_strmm cstrmm_
|
|
kusano |
2b45e8 |
#define F77_strsm cstrsm_
|
|
kusano |
2b45e8 |
#define F77_dgemm cdgemm_
|
|
kusano |
2b45e8 |
#define F77_dsymm cdsymm_
|
|
kusano |
2b45e8 |
#define F77_dsyrk cdsyrk_
|
|
kusano |
2b45e8 |
#define F77_dsyr2k cdsyr2k_
|
|
kusano |
2b45e8 |
#define F77_dtrmm cdtrmm_
|
|
kusano |
2b45e8 |
#define F77_dtrsm cdtrsm_
|
|
kusano |
2b45e8 |
#define F77_cgemm ccgemm_
|
|
kusano |
2b45e8 |
#define F77_csymm ccsymm_
|
|
kusano |
2b45e8 |
#define F77_csyrk ccsyrk_
|
|
kusano |
2b45e8 |
#define F77_csyr2k ccsyr2k_
|
|
kusano |
2b45e8 |
#define F77_ctrmm cctrmm_
|
|
kusano |
2b45e8 |
#define F77_ctrsm cctrsm_
|
|
kusano |
2b45e8 |
#define F77_zgemm czgemm_
|
|
kusano |
2b45e8 |
#define F77_zsymm czsymm_
|
|
kusano |
2b45e8 |
#define F77_zsyrk czsyrk_
|
|
kusano |
2b45e8 |
#define F77_zsyr2k czsyr2k_
|
|
kusano |
2b45e8 |
#define F77_ztrmm cztrmm_
|
|
kusano |
2b45e8 |
#define F77_ztrsm cztrsm_
|
|
kusano |
2b45e8 |
#elif defined(UPCASE)
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 1 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_srotg SROTGTEST
|
|
kusano |
2b45e8 |
#define F77_srotmg SROTMGTEST
|
|
kusano |
2b45e8 |
#define F77_srot SROTCTEST
|
|
kusano |
2b45e8 |
#define F77_srotm SROTMTEST
|
|
kusano |
2b45e8 |
#define F77_drotg DROTGTEST
|
|
kusano |
2b45e8 |
#define F77_drotmg DROTMGTEST
|
|
kusano |
2b45e8 |
#define F77_drot DROTTEST
|
|
kusano |
2b45e8 |
#define F77_drotm DROTMTEST
|
|
kusano |
2b45e8 |
#define F77_sswap SSWAPTEST
|
|
kusano |
2b45e8 |
#define F77_scopy SCOPYTEST
|
|
kusano |
2b45e8 |
#define F77_saxpy SAXPYTEST
|
|
kusano |
2b45e8 |
#define F77_isamax ISAMAXTEST
|
|
kusano |
2b45e8 |
#define F77_dswap DSWAPTEST
|
|
kusano |
2b45e8 |
#define F77_dcopy DCOPYTEST
|
|
kusano |
2b45e8 |
#define F77_daxpy DAXPYTEST
|
|
kusano |
2b45e8 |
#define F77_idamax IDAMAXTEST
|
|
kusano |
2b45e8 |
#define F77_cswap CSWAPTEST
|
|
kusano |
2b45e8 |
#define F77_ccopy CCOPYTEST
|
|
kusano |
2b45e8 |
#define F77_caxpy CAXPYTEST
|
|
kusano |
2b45e8 |
#define F77_icamax ICAMAXTEST
|
|
kusano |
2b45e8 |
#define F77_zswap ZSWAPTEST
|
|
kusano |
2b45e8 |
#define F77_zcopy ZCOPYTEST
|
|
kusano |
2b45e8 |
#define F77_zaxpy ZAXPYTEST
|
|
kusano |
2b45e8 |
#define F77_izamax IZAMAXTEST
|
|
kusano |
2b45e8 |
#define F77_sdot SDOTTEST
|
|
kusano |
2b45e8 |
#define F77_ddot DDOTTEST
|
|
kusano |
2b45e8 |
#define F77_dsdot DSDOTTEST
|
|
kusano |
2b45e8 |
#define F77_sscal SSCALTEST
|
|
kusano |
2b45e8 |
#define F77_dscal DSCALTEST
|
|
kusano |
2b45e8 |
#define F77_cscal CSCALTEST
|
|
kusano |
2b45e8 |
#define F77_zscal ZSCALTEST
|
|
kusano |
2b45e8 |
#define F77_csscal CSSCALTEST
|
|
kusano |
2b45e8 |
#define F77_zdscal ZDSCALTEST
|
|
kusano |
2b45e8 |
#define F77_cdotu CDOTUTEST
|
|
kusano |
2b45e8 |
#define F77_cdotc CDOTCTEST
|
|
kusano |
2b45e8 |
#define F77_zdotu ZDOTUTEST
|
|
kusano |
2b45e8 |
#define F77_zdotc ZDOTCTEST
|
|
kusano |
2b45e8 |
#define F77_snrm2 SNRM2TEST
|
|
kusano |
2b45e8 |
#define F77_sasum SASUMTEST
|
|
kusano |
2b45e8 |
#define F77_dnrm2 DNRM2TEST
|
|
kusano |
2b45e8 |
#define F77_dasum DASUMTEST
|
|
kusano |
2b45e8 |
#define F77_scnrm2 SCNRM2TEST
|
|
kusano |
2b45e8 |
#define F77_scasum SCASUMTEST
|
|
kusano |
2b45e8 |
#define F77_dznrm2 DZNRM2TEST
|
|
kusano |
2b45e8 |
#define F77_dzasum DZASUMTEST
|
|
kusano |
2b45e8 |
#define F77_sdsdot SDSDOTTEST
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 2 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_s2chke CS2CHKE
|
|
kusano |
2b45e8 |
#define F77_d2chke CD2CHKE
|
|
kusano |
2b45e8 |
#define F77_c2chke CC2CHKE
|
|
kusano |
2b45e8 |
#define F77_z2chke CZ2CHKE
|
|
kusano |
2b45e8 |
#define F77_ssymv CSSYMV
|
|
kusano |
2b45e8 |
#define F77_ssbmv CSSBMV
|
|
kusano |
2b45e8 |
#define F77_sspmv CSSPMV
|
|
kusano |
2b45e8 |
#define F77_sger CSGER
|
|
kusano |
2b45e8 |
#define F77_ssyr CSSYR
|
|
kusano |
2b45e8 |
#define F77_sspr CSSPR
|
|
kusano |
2b45e8 |
#define F77_ssyr2 CSSYR2
|
|
kusano |
2b45e8 |
#define F77_sspr2 CSSPR2
|
|
kusano |
2b45e8 |
#define F77_dsymv CDSYMV
|
|
kusano |
2b45e8 |
#define F77_dsbmv CDSBMV
|
|
kusano |
2b45e8 |
#define F77_dspmv CDSPMV
|
|
kusano |
2b45e8 |
#define F77_dger CDGER
|
|
kusano |
2b45e8 |
#define F77_dsyr CDSYR
|
|
kusano |
2b45e8 |
#define F77_dspr CDSPR
|
|
kusano |
2b45e8 |
#define F77_dsyr2 CDSYR2
|
|
kusano |
2b45e8 |
#define F77_dspr2 CDSPR2
|
|
kusano |
2b45e8 |
#define F77_chemv CCHEMV
|
|
kusano |
2b45e8 |
#define F77_chbmv CCHBMV
|
|
kusano |
2b45e8 |
#define F77_chpmv CCHPMV
|
|
kusano |
2b45e8 |
#define F77_cgeru CCGERU
|
|
kusano |
2b45e8 |
#define F77_cgerc CCGERC
|
|
kusano |
2b45e8 |
#define F77_cher CCHER
|
|
kusano |
2b45e8 |
#define F77_chpr CCHPR
|
|
kusano |
2b45e8 |
#define F77_cher2 CCHER2
|
|
kusano |
2b45e8 |
#define F77_chpr2 CCHPR2
|
|
kusano |
2b45e8 |
#define F77_zhemv CZHEMV
|
|
kusano |
2b45e8 |
#define F77_zhbmv CZHBMV
|
|
kusano |
2b45e8 |
#define F77_zhpmv CZHPMV
|
|
kusano |
2b45e8 |
#define F77_zgeru CZGERU
|
|
kusano |
2b45e8 |
#define F77_zgerc CZGERC
|
|
kusano |
2b45e8 |
#define F77_zher CZHER
|
|
kusano |
2b45e8 |
#define F77_zhpr CZHPR
|
|
kusano |
2b45e8 |
#define F77_zher2 CZHER2
|
|
kusano |
2b45e8 |
#define F77_zhpr2 CZHPR2
|
|
kusano |
2b45e8 |
#define F77_sgemv CSGEMV
|
|
kusano |
2b45e8 |
#define F77_sgbmv CSGBMV
|
|
kusano |
2b45e8 |
#define F77_strmv CSTRMV
|
|
kusano |
2b45e8 |
#define F77_stbmv CSTBMV
|
|
kusano |
2b45e8 |
#define F77_stpmv CSTPMV
|
|
kusano |
2b45e8 |
#define F77_strsv CSTRSV
|
|
kusano |
2b45e8 |
#define F77_stbsv CSTBSV
|
|
kusano |
2b45e8 |
#define F77_stpsv CSTPSV
|
|
kusano |
2b45e8 |
#define F77_dgemv CDGEMV
|
|
kusano |
2b45e8 |
#define F77_dgbmv CDGBMV
|
|
kusano |
2b45e8 |
#define F77_dtrmv CDTRMV
|
|
kusano |
2b45e8 |
#define F77_dtbmv CDTBMV
|
|
kusano |
2b45e8 |
#define F77_dtpmv CDTPMV
|
|
kusano |
2b45e8 |
#define F77_dtrsv CDTRSV
|
|
kusano |
2b45e8 |
#define F77_dtbsv CDTBSV
|
|
kusano |
2b45e8 |
#define F77_dtpsv CDTPSV
|
|
kusano |
2b45e8 |
#define F77_cgemv CCGEMV
|
|
kusano |
2b45e8 |
#define F77_cgbmv CCGBMV
|
|
kusano |
2b45e8 |
#define F77_ctrmv CCTRMV
|
|
kusano |
2b45e8 |
#define F77_ctbmv CCTBMV
|
|
kusano |
2b45e8 |
#define F77_ctpmv CCTPMV
|
|
kusano |
2b45e8 |
#define F77_ctrsv CCTRSV
|
|
kusano |
2b45e8 |
#define F77_ctbsv CCTBSV
|
|
kusano |
2b45e8 |
#define F77_ctpsv CCTPSV
|
|
kusano |
2b45e8 |
#define F77_zgemv CZGEMV
|
|
kusano |
2b45e8 |
#define F77_zgbmv CZGBMV
|
|
kusano |
2b45e8 |
#define F77_ztrmv CZTRMV
|
|
kusano |
2b45e8 |
#define F77_ztbmv CZTBMV
|
|
kusano |
2b45e8 |
#define F77_ztpmv CZTPMV
|
|
kusano |
2b45e8 |
#define F77_ztrsv CZTRSV
|
|
kusano |
2b45e8 |
#define F77_ztbsv CZTBSV
|
|
kusano |
2b45e8 |
#define F77_ztpsv CZTPSV
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 3 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_s3chke CS3CHKE
|
|
kusano |
2b45e8 |
#define F77_d3chke CD3CHKE
|
|
kusano |
2b45e8 |
#define F77_c3chke CC3CHKE
|
|
kusano |
2b45e8 |
#define F77_z3chke CZ3CHKE
|
|
kusano |
2b45e8 |
#define F77_chemm CCHEMM
|
|
kusano |
2b45e8 |
#define F77_cherk CCHERK
|
|
kusano |
2b45e8 |
#define F77_cher2k CCHER2K
|
|
kusano |
2b45e8 |
#define F77_zhemm CZHEMM
|
|
kusano |
2b45e8 |
#define F77_zherk CZHERK
|
|
kusano |
2b45e8 |
#define F77_zher2k CZHER2K
|
|
kusano |
2b45e8 |
#define F77_sgemm CSGEMM
|
|
kusano |
2b45e8 |
#define F77_ssymm CSSYMM
|
|
kusano |
2b45e8 |
#define F77_ssyrk CSSYRK
|
|
kusano |
2b45e8 |
#define F77_ssyr2k CSSYR2K
|
|
kusano |
2b45e8 |
#define F77_strmm CSTRMM
|
|
kusano |
2b45e8 |
#define F77_strsm CSTRSM
|
|
kusano |
2b45e8 |
#define F77_dgemm CDGEMM
|
|
kusano |
2b45e8 |
#define F77_dsymm CDSYMM
|
|
kusano |
2b45e8 |
#define F77_dsyrk CDSYRK
|
|
kusano |
2b45e8 |
#define F77_dsyr2k CDSYR2K
|
|
kusano |
2b45e8 |
#define F77_dtrmm CDTRMM
|
|
kusano |
2b45e8 |
#define F77_dtrsm CDTRSM
|
|
kusano |
2b45e8 |
#define F77_cgemm CCGEMM
|
|
kusano |
2b45e8 |
#define F77_csymm CCSYMM
|
|
kusano |
2b45e8 |
#define F77_csyrk CCSYRK
|
|
kusano |
2b45e8 |
#define F77_csyr2k CCSYR2K
|
|
kusano |
2b45e8 |
#define F77_ctrmm CCTRMM
|
|
kusano |
2b45e8 |
#define F77_ctrsm CCTRSM
|
|
kusano |
2b45e8 |
#define F77_zgemm CZGEMM
|
|
kusano |
2b45e8 |
#define F77_zsymm CZSYMM
|
|
kusano |
2b45e8 |
#define F77_zsyrk CZSYRK
|
|
kusano |
2b45e8 |
#define F77_zsyr2k CZSYR2K
|
|
kusano |
2b45e8 |
#define F77_ztrmm CZTRMM
|
|
kusano |
2b45e8 |
#define F77_ztrsm CZTRSM
|
|
kusano |
2b45e8 |
#elif defined(NOCHANGE)
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 1 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_srotg srotgtest
|
|
kusano |
2b45e8 |
#define F77_srotmg srotmgtest
|
|
kusano |
2b45e8 |
#define F77_srot srottest
|
|
kusano |
2b45e8 |
#define F77_srotm srotmtest
|
|
kusano |
2b45e8 |
#define F77_drotg drotgtest
|
|
kusano |
2b45e8 |
#define F77_drotmg drotmgtest
|
|
kusano |
2b45e8 |
#define F77_drot drottest
|
|
kusano |
2b45e8 |
#define F77_drotm drotmtest
|
|
kusano |
2b45e8 |
#define F77_sswap sswaptest
|
|
kusano |
2b45e8 |
#define F77_scopy scopytest
|
|
kusano |
2b45e8 |
#define F77_saxpy saxpytest
|
|
kusano |
2b45e8 |
#define F77_isamax isamaxtest
|
|
kusano |
2b45e8 |
#define F77_dswap dswaptest
|
|
kusano |
2b45e8 |
#define F77_dcopy dcopytest
|
|
kusano |
2b45e8 |
#define F77_daxpy daxpytest
|
|
kusano |
2b45e8 |
#define F77_idamax idamaxtest
|
|
kusano |
2b45e8 |
#define F77_cswap cswaptest
|
|
kusano |
2b45e8 |
#define F77_ccopy ccopytest
|
|
kusano |
2b45e8 |
#define F77_caxpy caxpytest
|
|
kusano |
2b45e8 |
#define F77_icamax icamaxtest
|
|
kusano |
2b45e8 |
#define F77_zswap zswaptest
|
|
kusano |
2b45e8 |
#define F77_zcopy zcopytest
|
|
kusano |
2b45e8 |
#define F77_zaxpy zaxpytest
|
|
kusano |
2b45e8 |
#define F77_izamax izamaxtest
|
|
kusano |
2b45e8 |
#define F77_sdot sdottest
|
|
kusano |
2b45e8 |
#define F77_ddot ddottest
|
|
kusano |
2b45e8 |
#define F77_dsdot dsdottest
|
|
kusano |
2b45e8 |
#define F77_sscal sscaltest
|
|
kusano |
2b45e8 |
#define F77_dscal dscaltest
|
|
kusano |
2b45e8 |
#define F77_cscal cscaltest
|
|
kusano |
2b45e8 |
#define F77_zscal zscaltest
|
|
kusano |
2b45e8 |
#define F77_csscal csscaltest
|
|
kusano |
2b45e8 |
#define F77_zdscal zdscaltest
|
|
kusano |
2b45e8 |
#define F77_cdotu cdotutest
|
|
kusano |
2b45e8 |
#define F77_cdotc cdotctest
|
|
kusano |
2b45e8 |
#define F77_zdotu zdotutest
|
|
kusano |
2b45e8 |
#define F77_zdotc zdotctest
|
|
kusano |
2b45e8 |
#define F77_snrm2 snrm2test
|
|
kusano |
2b45e8 |
#define F77_sasum sasumtest
|
|
kusano |
2b45e8 |
#define F77_dnrm2 dnrm2test
|
|
kusano |
2b45e8 |
#define F77_dasum dasumtest
|
|
kusano |
2b45e8 |
#define F77_scnrm2 scnrm2test
|
|
kusano |
2b45e8 |
#define F77_scasum scasumtest
|
|
kusano |
2b45e8 |
#define F77_dznrm2 dznrm2test
|
|
kusano |
2b45e8 |
#define F77_dzasum dzasumtest
|
|
kusano |
2b45e8 |
#define F77_sdsdot sdsdottest
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 2 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_s2chke cs2chke
|
|
kusano |
2b45e8 |
#define F77_d2chke cd2chke
|
|
kusano |
2b45e8 |
#define F77_c2chke cc2chke
|
|
kusano |
2b45e8 |
#define F77_z2chke cz2chke
|
|
kusano |
2b45e8 |
#define F77_ssymv cssymv
|
|
kusano |
2b45e8 |
#define F77_ssbmv cssbmv
|
|
kusano |
2b45e8 |
#define F77_sspmv csspmv
|
|
kusano |
2b45e8 |
#define F77_sger csger
|
|
kusano |
2b45e8 |
#define F77_ssyr cssyr
|
|
kusano |
2b45e8 |
#define F77_sspr csspr
|
|
kusano |
2b45e8 |
#define F77_ssyr2 cssyr2
|
|
kusano |
2b45e8 |
#define F77_sspr2 csspr2
|
|
kusano |
2b45e8 |
#define F77_dsymv cdsymv
|
|
kusano |
2b45e8 |
#define F77_dsbmv cdsbmv
|
|
kusano |
2b45e8 |
#define F77_dspmv cdspmv
|
|
kusano |
2b45e8 |
#define F77_dger cdger
|
|
kusano |
2b45e8 |
#define F77_dsyr cdsyr
|
|
kusano |
2b45e8 |
#define F77_dspr cdspr
|
|
kusano |
2b45e8 |
#define F77_dsyr2 cdsyr2
|
|
kusano |
2b45e8 |
#define F77_dspr2 cdspr2
|
|
kusano |
2b45e8 |
#define F77_chemv cchemv
|
|
kusano |
2b45e8 |
#define F77_chbmv cchbmv
|
|
kusano |
2b45e8 |
#define F77_chpmv cchpmv
|
|
kusano |
2b45e8 |
#define F77_cgeru ccgeru
|
|
kusano |
2b45e8 |
#define F77_cgerc ccgerc
|
|
kusano |
2b45e8 |
#define F77_cher ccher
|
|
kusano |
2b45e8 |
#define F77_chpr cchpr
|
|
kusano |
2b45e8 |
#define F77_cher2 ccher2
|
|
kusano |
2b45e8 |
#define F77_chpr2 cchpr2
|
|
kusano |
2b45e8 |
#define F77_zhemv czhemv
|
|
kusano |
2b45e8 |
#define F77_zhbmv czhbmv
|
|
kusano |
2b45e8 |
#define F77_zhpmv czhpmv
|
|
kusano |
2b45e8 |
#define F77_zgeru czgeru
|
|
kusano |
2b45e8 |
#define F77_zgerc czgerc
|
|
kusano |
2b45e8 |
#define F77_zher czher
|
|
kusano |
2b45e8 |
#define F77_zhpr czhpr
|
|
kusano |
2b45e8 |
#define F77_zher2 czher2
|
|
kusano |
2b45e8 |
#define F77_zhpr2 czhpr2
|
|
kusano |
2b45e8 |
#define F77_sgemv csgemv
|
|
kusano |
2b45e8 |
#define F77_sgbmv csgbmv
|
|
kusano |
2b45e8 |
#define F77_strmv cstrmv
|
|
kusano |
2b45e8 |
#define F77_stbmv cstbmv
|
|
kusano |
2b45e8 |
#define F77_stpmv cstpmv
|
|
kusano |
2b45e8 |
#define F77_strsv cstrsv
|
|
kusano |
2b45e8 |
#define F77_stbsv cstbsv
|
|
kusano |
2b45e8 |
#define F77_stpsv cstpsv
|
|
kusano |
2b45e8 |
#define F77_dgemv cdgemv
|
|
kusano |
2b45e8 |
#define F77_dgbmv cdgbmv
|
|
kusano |
2b45e8 |
#define F77_dtrmv cdtrmv
|
|
kusano |
2b45e8 |
#define F77_dtbmv cdtbmv
|
|
kusano |
2b45e8 |
#define F77_dtpmv cdtpmv
|
|
kusano |
2b45e8 |
#define F77_dtrsv cdtrsv
|
|
kusano |
2b45e8 |
#define F77_dtbsv cdtbsv
|
|
kusano |
2b45e8 |
#define F77_dtpsv cdtpsv
|
|
kusano |
2b45e8 |
#define F77_cgemv ccgemv
|
|
kusano |
2b45e8 |
#define F77_cgbmv ccgbmv
|
|
kusano |
2b45e8 |
#define F77_ctrmv cctrmv
|
|
kusano |
2b45e8 |
#define F77_ctbmv cctbmv
|
|
kusano |
2b45e8 |
#define F77_ctpmv cctpmv
|
|
kusano |
2b45e8 |
#define F77_ctrsv cctrsv
|
|
kusano |
2b45e8 |
#define F77_ctbsv cctbsv
|
|
kusano |
2b45e8 |
#define F77_ctpsv cctpsv
|
|
kusano |
2b45e8 |
#define F77_zgemv czgemv
|
|
kusano |
2b45e8 |
#define F77_zgbmv czgbmv
|
|
kusano |
2b45e8 |
#define F77_ztrmv cztrmv
|
|
kusano |
2b45e8 |
#define F77_ztbmv cztbmv
|
|
kusano |
2b45e8 |
#define F77_ztpmv cztpmv
|
|
kusano |
2b45e8 |
#define F77_ztrsv cztrsv
|
|
kusano |
2b45e8 |
#define F77_ztbsv cztbsv
|
|
kusano |
2b45e8 |
#define F77_ztpsv cztpsv
|
|
kusano |
2b45e8 |
/*
|
|
kusano |
2b45e8 |
* Level 3 BLAS
|
|
kusano |
2b45e8 |
*/
|
|
kusano |
2b45e8 |
#define F77_s3chke cs3chke
|
|
kusano |
2b45e8 |
#define F77_d3chke cd3chke
|
|
kusano |
2b45e8 |
#define F77_c3chke cc3chke
|
|
kusano |
2b45e8 |
#define F77_z3chke cz3chke
|
|
kusano |
2b45e8 |
#define F77_chemm cchemm
|
|
kusano |
2b45e8 |
#define F77_cherk ccherk
|
|
kusano |
2b45e8 |
#define F77_cher2k ccher2k
|
|
kusano |
2b45e8 |
#define F77_zhemm czhemm
|
|
kusano |
2b45e8 |
#define F77_zherk czherk
|
|
kusano |
2b45e8 |
#define F77_zher2k czher2k
|
|
kusano |
2b45e8 |
#define F77_sgemm csgemm
|
|
kusano |
2b45e8 |
#define F77_ssymm cssymm
|
|
kusano |
2b45e8 |
#define F77_ssyrk cssyrk
|
|
kusano |
2b45e8 |
#define F77_ssyr2k cssyr2k
|
|
kusano |
2b45e8 |
#define F77_strmm cstrmm
|
|
kusano |
2b45e8 |
#define F77_strsm cstrsm
|
|
kusano |
2b45e8 |
#define F77_dgemm cdgemm
|
|
kusano |
2b45e8 |
#define F77_dsymm cdsymm
|
|
kusano |
2b45e8 |
#define F77_dsyrk cdsyrk
|
|
kusano |
2b45e8 |
#define F77_dsyr2k cdsyr2k
|
|
kusano |
2b45e8 |
#define F77_dtrmm cdtrmm
|
|
kusano |
2b45e8 |
#define F77_dtrsm cdtrsm
|
|
kusano |
2b45e8 |
#define F77_cgemm ccgemm
|
|
kusano |
2b45e8 |
#define F77_csymm ccsymm
|
|
kusano |
2b45e8 |
#define F77_csyrk ccsyrk
|
|
kusano |
2b45e8 |
#define F77_csyr2k ccsyr2k
|
|
kusano |
2b45e8 |
#define F77_ctrmm cctrmm
|
|
kusano |
2b45e8 |
#define F77_ctrsm cctrsm
|
|
kusano |
2b45e8 |
#define F77_zgemm czgemm
|
|
kusano |
2b45e8 |
#define F77_zsymm czsymm
|
|
kusano |
2b45e8 |
#define F77_zsyrk czsyrk
|
|
kusano |
2b45e8 |
#define F77_zsyr2k czsyr2k
|
|
kusano |
2b45e8 |
#define F77_ztrmm cztrmm
|
|
kusano |
2b45e8 |
#define F77_ztrsm cztrsm
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
void get_transpose_type(char *type, enum CBLAS_TRANSPOSE *trans);
|
|
kusano |
2b45e8 |
void get_uplo_type(char *type, enum CBLAS_UPLO *uplo);
|
|
kusano |
2b45e8 |
void get_diag_type(char *type, enum CBLAS_DIAG *diag);
|
|
kusano |
2b45e8 |
void get_side_type(char *type, enum CBLAS_SIDE *side);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#endif /* CBLAS_TEST_H */
|