mirror of
https://github.com/amd/blis.git
synced 2026-05-11 01:30:00 +00:00
Fixed cpp macro parameter "ch" typo in bla_ger.c.
Details:
- Previously, the BLAS routine-generating macro in bla_ger.c was
incorrectly passing MKSTR(ch) into the _check() macro when it
should have been passing in the char that was available, chxy.
I've instead changed the name of the macro parameter from chxy
to ch. Similar change as made to bla_ger.h for consistency.
Thanks to Dave Love in helping track this down. (NOTE: This is
actually the root cause of the bug that was first patched by
increasing the length of the operation name strings passed into
xerbla_(), as defined by the constant BLIS_MAX_BLAS_FUNC_STR_LENGTH,
in 3d1a5a7. In theory, that change could be backed out now.)
- Applied aforementioned chxy->ch change to bla_dot.[ch], as well as
frame/compat/cblas/f77_sub/f77_dot_sub.[ch] (not because it needed
to happen, but for naming consistency).
- Reformatted function signatures/prototypes of CBLAS functions and
function calls to BLAS in frame/compat/cblas/f77_sub/*.c.
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
// Define BLAS-to-BLIS interfaces.
|
||||
//
|
||||
#undef GENTFUNCDOT
|
||||
#define GENTFUNCDOT( ftype, chxy, chc, blis_conjx, blasname, blisname ) \
|
||||
#define GENTFUNCDOT( ftype, ch, chc, blis_conjx, blasname, blisname ) \
|
||||
\
|
||||
ftype PASTEF772(chxy,blasname,chc) \
|
||||
ftype PASTEF772(ch,blasname,chc) \
|
||||
( \
|
||||
const f77_int* n, \
|
||||
const ftype* x, const f77_int* incx, \
|
||||
@@ -67,7 +67,7 @@ ftype PASTEF772(chxy,blasname,chc) \
|
||||
bli_convert_blas_incv( n0, (ftype*)y, *incy, y0, incy0 ); \
|
||||
\
|
||||
/* Call BLIS interface. */ \
|
||||
PASTEMAC(chxy,blisname) \
|
||||
PASTEMAC(ch,blisname) \
|
||||
( \
|
||||
blis_conjx, \
|
||||
BLIS_NO_CONJUGATE, \
|
||||
|
||||
Reference in New Issue
Block a user