revert "switch DGEMM parameters for SkylakeX if DYNAMIC_ARCH"

This commit is contained in:
Martin Kroeker
2022-05-20 11:28:23 +02:00
committed by GitHub
parent dc49edd4e6
commit dac14a5f7d
-20
View File
@@ -1669,22 +1669,14 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#else
#define SGEMM_DEFAULT_UNROLL_M 16
#ifdef DYNAMIC_ARCH
#define DGEMM_DEFAULT_UNROLL_M 4
#else
#define DGEMM_DEFAULT_UNROLL_M 16
#endif
#define QGEMM_DEFAULT_UNROLL_M 2
#define CGEMM_DEFAULT_UNROLL_M 8
#define ZGEMM_DEFAULT_UNROLL_M 4
#define XGEMM_DEFAULT_UNROLL_M 1
#define SGEMM_DEFAULT_UNROLL_N 4
#ifdef DYNAMIC_ARCH
#define DGEMM_DEFAULT_UNROLL_N 8
#else
#define DGEMM_DEFAULT_UNROLL_N 2
#endif
#define QGEMM_DEFAULT_UNROLL_N 2
#define CGEMM_DEFAULT_UNROLL_N 2
#define ZGEMM_DEFAULT_UNROLL_N 2
@@ -1718,29 +1710,17 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#else
#define SGEMM_DEFAULT_P 448
#ifndef DYNAMIC_ARCH
#define DGEMM_DEFAULT_P 192
#else
#define DGEMM_DEFAULT_P 384
#endif
#define CGEMM_DEFAULT_P 384
#define ZGEMM_DEFAULT_P 256
#define SGEMM_DEFAULT_Q 448
#ifndef DYNAMIC_ARCH
#define DGEMM_DEFAULT_Q 384
#else
#define DGEMM_DEFAULT_Q 168
#endif
#define CGEMM_DEFAULT_Q 192
#define ZGEMM_DEFAULT_Q 128
#define SGEMM_DEFAULT_R sgemm_r
#ifndef DYNAMIC_ARCH
#define DGEMM_DEFAULT_R 8640
#else
#define DGEMM_DEFAULT_R 13824
#endif
#define CGEMM_DEFAULT_R cgemm_r
#define ZGEMM_DEFAULT_R zgemm_r