|
kusano |
2b45e8 |
/*********************************************************************/
|
|
kusano |
2b45e8 |
/* Copyright 2009, 2010 The University of Texas at Austin. */
|
|
kusano |
2b45e8 |
/* All rights reserved. */
|
|
kusano |
2b45e8 |
/* */
|
|
kusano |
2b45e8 |
/* Redistribution and use in source and binary forms, with or */
|
|
kusano |
2b45e8 |
/* without modification, are permitted provided that the following */
|
|
kusano |
2b45e8 |
/* conditions are met: */
|
|
kusano |
2b45e8 |
/* */
|
|
kusano |
2b45e8 |
/* 1. Redistributions of source code must retain the above */
|
|
kusano |
2b45e8 |
/* copyright notice, this list of conditions and the following */
|
|
kusano |
2b45e8 |
/* disclaimer. */
|
|
kusano |
2b45e8 |
/* */
|
|
kusano |
2b45e8 |
/* 2. Redistributions in binary form must reproduce the above */
|
|
kusano |
2b45e8 |
/* copyright notice, this list of conditions and the following */
|
|
kusano |
2b45e8 |
/* disclaimer in the documentation and/or other materials */
|
|
kusano |
2b45e8 |
/* provided with the distribution. */
|
|
kusano |
2b45e8 |
/* */
|
|
kusano |
2b45e8 |
/* THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF TEXAS AT */
|
|
kusano |
2b45e8 |
/* AUSTIN ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, */
|
|
kusano |
2b45e8 |
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
|
|
kusano |
2b45e8 |
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
|
|
kusano |
2b45e8 |
/* DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF TEXAS AT */
|
|
kusano |
2b45e8 |
/* AUSTIN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, */
|
|
kusano |
2b45e8 |
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */
|
|
kusano |
2b45e8 |
/* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE */
|
|
kusano |
2b45e8 |
/* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR */
|
|
kusano |
2b45e8 |
/* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
|
|
kusano |
2b45e8 |
/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
|
|
kusano |
2b45e8 |
/* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT */
|
|
kusano |
2b45e8 |
/* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
|
|
kusano |
2b45e8 |
/* POSSIBILITY OF SUCH DAMAGE. */
|
|
kusano |
2b45e8 |
/* */
|
|
kusano |
2b45e8 |
/* The views and conclusions contained in the software and */
|
|
kusano |
2b45e8 |
/* documentation are those of the authors and should not be */
|
|
kusano |
2b45e8 |
/* interpreted as representing official policies, either expressed */
|
|
kusano |
2b45e8 |
/* or implied, of The University of Texas at Austin. */
|
|
kusano |
2b45e8 |
/*********************************************************************/
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef ASSEMBLER
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef __CUDACC__
|
|
kusano |
2b45e8 |
extern "C" {
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float sdot_k(BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double dsdot_k(BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double ddot_k(BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble qdot_k(BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float _Complex cdotc_k (BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
float _Complex cdotu_k (BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double _Complex zdotc_k (BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
double _Complex zdotu_k (BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble _Complex xdotc_k (BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble _Complex xdotu_k (BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int saxpy_k (BLASLONG, BLASLONG, BLASLONG, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int daxpy_k (BLASLONG, BLASLONG, BLASLONG, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int qaxpy_k (BLASLONG, BLASLONG, BLASLONG, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
int caxpy_k (BLASLONG, BLASLONG, BLASLONG, float, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int zaxpy_k (BLASLONG, BLASLONG, BLASLONG, double, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int xaxpy_k (BLASLONG, BLASLONG, BLASLONG, xdouble, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
int caxpyc_k (BLASLONG, BLASLONG, BLASLONG, float, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int zaxpyc_k (BLASLONG, BLASLONG, BLASLONG, double, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int xaxpyc_k (BLASLONG, BLASLONG, BLASLONG, xdouble, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int scopy_k(BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int dcopy_k(BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int qcopy_k(BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
int ccopy_k(BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int zcopy_k(BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int xcopy_k(BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int sswap_k (BLASLONG, BLASLONG, BLASLONG, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int dswap_k (BLASLONG, BLASLONG, BLASLONG, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double*, BLASLONG);
|
|
kusano |
2b45e8 |
int qswap_k (BLASLONG, BLASLONG, BLASLONG, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble*, BLASLONG);
|
|
kusano |
2b45e8 |
int cswap_k (BLASLONG, BLASLONG, BLASLONG, float, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int zswap_k (BLASLONG, BLASLONG, BLASLONG, double, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double*, BLASLONG);
|
|
kusano |
2b45e8 |
int xswap_k (BLASLONG, BLASLONG, BLASLONG, xdouble, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble*, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float sasum_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double dasum_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble qasum_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
float casum_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double zasum_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble xasum_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float samax_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double damax_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble qamax_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
float camax_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double zamax_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble xamax_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float samin_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double damin_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble qamin_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
float camin_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double zamin_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble xamin_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
BLASLONG isamax_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG idamax_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG iqamax_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG icamax_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG izamax_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG ixamax_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
BLASLONG isamin_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG idamin_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG iqamin_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG icamin_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG izamin_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG ixamin_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float smax_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double dmax_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble qmax_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
float cmax_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double zmax_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble xmax_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float smin_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double dmin_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble qmin_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
float cmin_k (BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double zmin_k (BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble xmin_k (BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
BLASLONG ismax_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG idmax_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG iqmax_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG icmax_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG izmax_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG ixmax_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
BLASLONG ismin_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG idmin_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG iqmin_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG icmin_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG izmin_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
BLASLONG ixmin_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int sscal_k(BLASLONG, BLASLONG, BLASLONG, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int dscal_k(BLASLONG, BLASLONG, BLASLONG, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int qscal_k(BLASLONG, BLASLONG, BLASLONG, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
int cscal_k(BLASLONG, BLASLONG, BLASLONG, float, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int zscal_k(BLASLONG, BLASLONG, BLASLONG, double, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int xscal_k(BLASLONG, BLASLONG, BLASLONG, xdouble, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
int csscal_k(BLASLONG, BLASLONG, BLASLONG, float, float,
|
|
kusano |
2b45e8 |
float *, BLASLONG, float *, BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
int zdscal_k(BLASLONG, BLASLONG, BLASLONG, double, double,
|
|
kusano |
2b45e8 |
double *, BLASLONG, double *, BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
int xqscal_k(BLASLONG, BLASLONG, BLASLONG, xdouble, xdouble,
|
|
kusano |
2b45e8 |
xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
float snrm2_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double dnrm2_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble qnrm2_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
float cnrm2_k(BLASLONG, float *, BLASLONG);
|
|
kusano |
2b45e8 |
double znrm2_k(BLASLONG, double *, BLASLONG);
|
|
kusano |
2b45e8 |
xdouble xnrm2_k(BLASLONG, xdouble *, BLASLONG);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int srot_k (BLASLONG, float *, BLASLONG, float *, BLASLONG, float , float );
|
|
kusano |
2b45e8 |
int drot_k (BLASLONG, double *, BLASLONG, double *, BLASLONG, double, double);
|
|
kusano |
2b45e8 |
int qrot_k (BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble, xdouble);
|
|
kusano |
2b45e8 |
int csrot_k(BLASLONG, float *, BLASLONG, float *, BLASLONG, float , float );
|
|
kusano |
2b45e8 |
int zdrot_k(BLASLONG, double *, BLASLONG, double *, BLASLONG, double, double);
|
|
kusano |
2b45e8 |
int xqrot_k(BLASLONG, xdouble *, BLASLONG, xdouble *, BLASLONG, xdouble, xdouble);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int srotg_k(float *, float *, float *, float *);
|
|
kusano |
2b45e8 |
int drotg_k(double *, double *, double *, double *);
|
|
kusano |
2b45e8 |
int qrotg_k(xdouble *, xdouble *, xdouble *, xdouble *);
|
|
kusano |
2b45e8 |
int csrotg_k(float *, float *, float *, float *);
|
|
kusano |
2b45e8 |
int zdrotg_k(double *, double *, double *, double *);
|
|
kusano |
2b45e8 |
int xqrotg_k(xdouble *, xdouble *, xdouble *, xdouble *);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int srotmg_k(float *, float *, float *, float *, float *);
|
|
kusano |
2b45e8 |
int drotmg_k(double *, double *, double *, double *, double *);
|
|
kusano |
2b45e8 |
int qrotmg_k(xdouble *, xdouble *, xdouble *, xdouble *, xdouble *);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
int srotm_k (BLASLONG, float, BLASLONG, float, BLASLONG, float);
|
|
kusano |
2b45e8 |
int drotm_k (BLASLONG, double, BLASLONG, double, BLASLONG, double);
|
|
kusano |
2b45e8 |
int qrotm_k (BLASLONG, xdouble, BLASLONG, xdouble, BLASLONG, xdouble);
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef __CUDACC__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|