mirror of
https://github.com/amd/blis.git
synced 2026-05-11 09:39:59 +00:00
Attempted to fix uninitialized variable warnings.
Details: - Added initialization statements to various macros used in level 1m and 1m-like operations. I wasn't able to reproduce the reported behavior, so hopefully this takes care of it. Thanks to Jeff Hammond for the report.
This commit is contained in:
@@ -581,6 +581,11 @@
|
||||
uplo_eff, n_elem_max, n_iter, inca, lda, \
|
||||
ij0, n_shift ) \
|
||||
{ \
|
||||
/* This is to prevent the compiler from warning about uninitialized
|
||||
variables. */ \
|
||||
ij0 = 0; \
|
||||
n_shift = 0; \
|
||||
\
|
||||
/* If matrix A is entirely "unstored", that is, if either:
|
||||
- A is lower-stored and entirely above the diagonal, or
|
||||
- A is upper-stored and entirely below the diagonal
|
||||
@@ -669,6 +674,11 @@
|
||||
ij0, n_shift \
|
||||
) \
|
||||
{ \
|
||||
/* This is to prevent the compiler from warning about uninitialized
|
||||
variables. */ \
|
||||
ij0 = 0; \
|
||||
n_shift = 0; \
|
||||
\
|
||||
/* If matrix A is entirely "unstored", that is, if either:
|
||||
- A is lower-stored and entirely above the diagonal, or
|
||||
- A is upper-stored and entirely below the diagonal
|
||||
@@ -749,6 +759,11 @@
|
||||
ij0, n_shift \
|
||||
) \
|
||||
{ \
|
||||
/* This is to prevent the compiler from warning about uninitialized
|
||||
variables. */ \
|
||||
ij0 = 0; \
|
||||
n_shift = 0; \
|
||||
\
|
||||
/* If matrix A is entirely "unstored", that is, if either:
|
||||
- A is lower-stored and entirely above the diagonal, or
|
||||
- A is upper-stored and entirely below the diagonal
|
||||
|
||||
Reference in New Issue
Block a user