Skip to content

Commit b54b50f

Browse files
authored
Merge pull request #3399 from martin-frbg/issue2814
Improve performance on Apple M1 Vortex
2 parents 8e4c209 + 24233b7 commit b54b50f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kernel/arm64/KERNEL.VORTEX

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include $(KERNELDIR)/KERNEL.ARMV8
1+
include $(KERNELDIR)/KERNEL.NEOVERSEN1

param.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29722972

29732973
#if defined(CORTEXA57) || \
29742974
defined(CORTEXA72) || defined(CORTEXA73) || \
2975-
defined(FALKOR) || defined(TSV110) || defined(EMAG8180)
2975+
defined(FALKOR) || defined(TSV110) || defined(EMAG8180) || defined(VORTEX)
29762976

29772977
#define SGEMM_DEFAULT_UNROLL_M 16
29782978
#define SGEMM_DEFAULT_UNROLL_N 4
@@ -2989,7 +2989,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29892989
/*FIXME: this should be using the cache size, but there is currently no easy way to
29902990
query that on ARM. So if getarch counted more than 8 cores we simply assume the host
29912991
is a big desktop or server with abundant cache rather than a phone or embedded device */
2992-
#if NUM_CORES > 8 || defined(TSV110) || defined(EMAG8180)
2992+
#if NUM_CORES > 8 || defined(TSV110) || defined(EMAG8180) || defined(VORTEX)
29932993
#define SGEMM_DEFAULT_P 512
29942994
#define DGEMM_DEFAULT_P 256
29952995
#define CGEMM_DEFAULT_P 256

0 commit comments

Comments
 (0)