Unimplemented kernels now call reference.

Details:
- Updated arm, bgq, loongson3a, and x86_64 kernels so that unimplemented
  datatypes call the corresponding reference kernel. Previously, these
  kernel functions called abort() with a "not yet implemented" error
  message.
This commit is contained in:
Field G. Van Zee
2013-12-02 13:58:46 -06:00
10 changed files with 255 additions and 31 deletions

View File

@@ -519,7 +519,15 @@ void bli_cgemm_opt_4x4(
scomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemm_opt_4x4(
@@ -533,6 +541,14 @@ void bli_zgemm_opt_4x4(
dcomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}

View File

@@ -45,7 +45,15 @@ void bli_sgemm_8x8(
float* a_next, float* b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_sgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
@@ -244,7 +252,15 @@ void bli_cgemm_8x8(
scomplex* a_next, scomplex* b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemm_8x8(
@@ -257,7 +273,15 @@ void bli_zgemm_8x8(
dcomplex* a_next, dcomplex* b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
@@ -272,7 +296,15 @@ void bli_sgemm_8x8_mt(
int t_id
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_sgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_cgemm_8x8_mt(
@@ -286,7 +318,15 @@ void bli_cgemm_8x8_mt(
int t_id
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemm_8x8_mt(
@@ -300,5 +340,13 @@ void bli_zgemm_8x8_mt(
int t_id
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}

View File

@@ -46,7 +46,15 @@ void bli_sgemm_opt_d4x4(
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_sgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_dgemm_opt_d4x4(
@@ -547,7 +555,15 @@ void bli_cgemm_opt_d4x4(
scomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemm_opt_d4x4(
@@ -561,6 +577,14 @@ void bli_zgemm_opt_d4x4(
dcomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}

View File

@@ -48,7 +48,15 @@ void bli_sgemm_opt_8x4_ref_u4_nodupl_avx1(
float* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_sgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
@@ -637,7 +645,15 @@ void bli_cgemm_opt_8x4_ref_u4_nodupl_avx1(
scomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
@@ -653,6 +669,14 @@ void bli_zgemm_opt_8x4_ref_u4_nodupl_avx1(
dcomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}

View File

@@ -1343,7 +1343,15 @@ void bli_cgemm_opt_d4x4(
scomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemm_opt_d4x4(
@@ -1357,6 +1365,14 @@ void bli_zgemm_opt_d4x4(
dcomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}

View File

@@ -46,7 +46,16 @@ void bli_sgemmtrsm_l_opt_d4x4(
float* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_sgemmtrsm_l_ref_mxn( k,
alpha,
a10,
a11,
b01,
b11,
c11, rs_c, cs_c,
a_next,
b_next );
}
void bli_dgemmtrsm_l_opt_d4x4(
@@ -546,7 +555,16 @@ void bli_cgemmtrsm_l_opt_d4x4(
scomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemmtrsm_l_ref_mxn( k,
alpha,
a10,
a11,
b01,
b11,
c11, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemmtrsm_l_opt_d4x4(
@@ -561,6 +579,15 @@ void bli_zgemmtrsm_l_opt_d4x4(
dcomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemmtrsm_l_ref_mxn( k,
alpha,
a10,
a11,
b01,
b11,
c11, rs_c, cs_c,
a_next,
b_next );
}

View File

@@ -46,7 +46,16 @@ void bli_sgemmtrsm_u_opt_d4x4(
float* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_sgemmtrsm_l_ref_mxn( k,
alpha,
a10,
a11,
b01,
b11,
c11, rs_c, cs_c,
a_next,
b_next );
}
void bli_dgemmtrsm_u_opt_d4x4(
@@ -532,7 +541,16 @@ void bli_cgemmtrsm_u_opt_d4x4(
scomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemmtrsm_l_ref_mxn( k,
alpha,
a10,
a11,
b01,
b11,
c11, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemmtrsm_u_opt_d4x4(
@@ -547,6 +565,15 @@ void bli_zgemmtrsm_u_opt_d4x4(
dcomplex* restrict b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemmtrsm_l_ref_mxn( k,
alpha,
a10,
a11,
b01,
b11,
c11, rs_c, cs_c,
a_next,
b_next );
}

View File

@@ -40,7 +40,10 @@ void bli_strsm_l_opt_d4x4(
float* restrict c11, inc_t rs_c, inc_t cs_c
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_strsm_l_ref_mxn( a11,
b11,
c11, rs_c, cs_c );
}
void bli_dtrsm_l_opt_d4x4(
@@ -208,7 +211,10 @@ void bli_ctrsm_l_opt_d4x4(
scomplex* restrict c11, inc_t rs_c, inc_t cs_c
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_ctrsm_l_ref_mxn( a11,
b11,
c11, rs_c, cs_c );
}
void bli_ztrsm_l_opt_d4x4(
@@ -217,6 +223,9 @@ void bli_ztrsm_l_opt_d4x4(
dcomplex* restrict c11, inc_t rs_c, inc_t cs_c
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_ztrsm_l_ref_mxn( a11,
b11,
c11, rs_c, cs_c );
}

View File

@@ -40,7 +40,10 @@ void bli_strsm_u_opt_d4x4(
float* restrict c11, inc_t rs_c, inc_t cs_c
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_strsm_u_ref_mxn( a11,
b11,
c11, rs_c, cs_c );
}
void bli_dtrsm_u_opt_d4x4(
@@ -211,7 +214,10 @@ void bli_ctrsm_u_opt_d4x4(
scomplex* restrict c11, inc_t rs_c, inc_t cs_c
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_ctrsm_u_ref_mxn( a11,
b11,
c11, rs_c, cs_c );
}
void bli_ztrsm_u_opt_d4x4(
@@ -220,6 +226,9 @@ void bli_ztrsm_u_opt_d4x4(
dcomplex* restrict c11, inc_t rs_c, inc_t cs_c
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_ztrsm_u_ref_mxn( a11,
b11,
c11, rs_c, cs_c );
}

View File

@@ -46,7 +46,15 @@
float* a_next, float* b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_sgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_dgemm_4x6(
@@ -676,7 +684,15 @@
scomplex* a_next, scomplex* b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_cgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}
void bli_zgemm_4x6(
@@ -689,6 +705,14 @@
dcomplex* a_next, dcomplex* b_next
)
{
bli_check_error_code( BLIS_NOT_YET_IMPLEMENTED );
/* Just call the reference implementation. */
bli_zgemm_ref_mxn( k,
alpha,
a,
b,
beta,
c, rs_c, cs_c,
a_next,
b_next );
}