Skip to content

Commit

Permalink
Revert "Enabled MT path in DTRSM Small"
Browse files Browse the repository at this point in the history
This reverts commit c08222c.

Reason for revert: Functionality Issues

Change-Id: I26573cb47e31deda21e0d51851075a5cb50985ca
  • Loading branch information
sireeshasanga committed Oct 21, 2022
1 parent 62a23de commit ea4acd2
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions frame/compat/bla_trsm_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -922,41 +922,9 @@ void dtrsm_
return;
}
}
// bli_trsm_small_mt is performing better than native multithread
// for certain sizes of m & n.
#ifdef BLIS_ENABLE_OPENMP
rntm_t rntm;
bli_rntm_init_from_global( &rntm );
// Query the total number of threads from the rntm_t object.
dim_t n_threads = bli_rntm_num_threads( &rntm );
if ( ( (n_threads > 1) && (m0 <= 1500) && (n0 <= 1500) ) ||
( (n_threads == 32) && (m0 <= 2300) && (n0 <= 2300) ) ||
( (n_threads == 16) && (m0 <= 3800) && (n0 <= 3800) ) ||
( (n_threads == 8) && (m0 <= 2800) && (n0 <= 2800) ) ||
( (n_threads == 4) && (m0 <= 2000) && (n0 <= 2000) ) ||
( (n_threads == 2) && (m0 <= 2000) && (n0 <= 2000) ) )
{
err_t status;
status = bli_trsm_small_mt(
blis_side,
&alphao,
&ao,
&bo,
NULL,
NULL);
if ( status == BLIS_SUCCESS )
{
AOCL_DTL_TRACE_EXIT(AOCL_DTL_LEVEL_INFO);
/* Finalize BLIS. */
bli_finalize_auto();
return;
}
}
#endif// BLIS_ENABLE_OPENMP
} // bli_cpuid_is_avx_supported
#endif// END of BLIS_ENABLE_SMALL_MATRIX_TRSM


bli_trsmnat
(
blis_side,
Expand Down

0 comments on commit ea4acd2

Please sign in to comment.