mirror of
https://github.com/amd/blis.git
synced 2026-05-24 10:24:34 +00:00
Fixed blastest failure for amd64 configuration
- When building for amd64 configuration, small matrix support
for dgemm is not enabled (yet). Functions supporting small matrix
implementation are called even when small matrix support is
disabled. Update code to prevent this.
AMD-Internal: [CPUPL-1575]
Change-Id: I3a1692e965679cfde44938b1d26951145c790aa0
This commit is contained in:
committed by
Dipal Madhukar Zambare
parent
21130ebece
commit
9e27065c2b
@@ -478,6 +478,7 @@ void dgemm_
|
||||
|
||||
// The code below will be called when number of threads = 1.
|
||||
|
||||
#ifdef BLIS_ENABLE_SMALL_MATRIX
|
||||
if( ((m0 + n0 -k0) < 2000) && ((m0 + k0-n0) < 2000) && ((n0 + k0-m0) < 2000) && (n0 > 2))
|
||||
{
|
||||
err_t status;
|
||||
@@ -514,12 +515,14 @@ void dgemm_
|
||||
}
|
||||
}
|
||||
|
||||
#endif //#ifdef BLIS_ENABLE_SMALL_MATRIX
|
||||
|
||||
err_t status = bli_gemmsup(&alphao, &ao, &bo, &betao, &co, NULL, NULL);
|
||||
if (status == BLIS_SUCCESS)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// fall back on native path when dgemm is not handled in sup path.
|
||||
bli_gemmnat(&alphao, &ao, &bo, &betao, &co, NULL, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user