Skip to content

Commit 03e781b

Browse files
committed
sgemm_direct_skylakex: fix 75eeb26 regression.
The `#if defined(SKYLAKEX) || defined (COOPERLAKE)` from that commit was before #include "common.h" so caused the compiled function to be empty, returning garbage results for qualifying sgemm's on those architectures. Closes #2914
1 parent efd47b0 commit 03e781b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/x86_64/sgemm_direct_skylakex.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
#if defined(SKYLAKEX) || defined (COOPERLAKE)
21
/* the direct sgemm code written by Arjan van der Ven */
32
#include <immintrin.h>
43
#include "common.h"
4+
5+
#if defined(SKYLAKEX) || defined (COOPERLAKE)
56
/*
67
* "Direct sgemm" code. This code operates directly on the inputs and outputs
78
* of the sgemm call, avoiding the copies, memory realignments and threading,

0 commit comments

Comments
 (0)