Bugfix of output text + tweaks to test/sup driver.

Details:
- Fixed an off-by-one bug in the output of matlab row indices in
  test/sup/test_gemm.c that only manifested when the problem size
  increment was equal to 1.
- Disabled the building of rrc, rcr, rcc, crr, crc, and ccr storage
  combinations for blissup drivers in test/sup. This helps make the
  building of drivers complete sooner.
- Trivial changes to test/sup/runme.sh.
This commit is contained in:
Field G. Van Zee
2019-08-27 14:18:14 -05:00
parent 138d403b6b
commit b6017e53f4
3 changed files with 20 additions and 13 deletions

View File

@@ -217,15 +217,22 @@ TRANS := n_n \
t_n \
t_t
# While BLIS supports all combinations of row and column storage for matrices
# C, A, and B, the alternatives mostly only support CBLAS APIs, which inherently
# support only "all row-storage" or "all column-storage". Thus, we disable the
# building of those other drivers so that compilation/linking completes sooner.
#STORS := r_r_r \
# r_r_c \
# r_c_r \
# r_c_c \
# c_r_r \
# c_r_c \
# c_c_r \
# c_c_c
STORS := r_r_r \
r_r_c \
r_c_r \
r_c_c \
c_r_r \
c_r_c \
c_c_r \
c_c_c
SHAPES := l_l_s \
l_s_l \
s_l_l \

View File

@@ -38,13 +38,13 @@ sks="4"
# Implementations to test.
impls="vendor blissup blislpab openblas eigen libxsmm blasfeo"
#impls="vendor openblas eigen"
#impls="blislpab blissup"
#impls="openblas eigen vendor"
#impls="eigen"
#impls="vendor"
#impls="blissup"
#impls="blasfeo"
#impls="blislpab"
#impls="openblas"
#impls="eigen"
#impls="libxsmm"
#impls="blasfeo"
# Example: test_dgemm_nn_rrc_m6npkp_blissup_st.x

View File

@@ -152,7 +152,7 @@ int main( int argc, char** argv )
printf( "data_%s_%cgemm_%c%c_%s", THR_STR, dt_ch,
transal, transbl, STR );
printf( "( %2lu, 1:4 ) = [ %4lu %4lu %4lu %7.2f ];\n",
( unsigned long )(p - p_begin + 1)/p_inc + 1,
( unsigned long )(p - p_begin)/p_inc + 1,
( unsigned long )0,
( unsigned long )0,
( unsigned long )0, 0.0 );
@@ -562,7 +562,7 @@ int main( int argc, char** argv )
printf( "data_%s_%cgemm_%c%c_%s", THR_STR, dt_ch,
transal, transbl, STR );
printf( "( %2lu, 1:4 ) = [ %4lu %4lu %4lu %7.2f ];\n",
( unsigned long )(p - p_begin + 1)/p_inc + 1,
( unsigned long )(p - p_begin)/p_inc + 1,
( unsigned long )m,
( unsigned long )n,
( unsigned long )k, gflops );