Skip to content

Commit

Permalink
add NEOVERSEV2 in DYNAMIC_ARCH to avoid NEOVERSEV2 SBGEMM falling…
Browse files Browse the repository at this point in the history
… to `NEOVERSEV1` SBGEMM kernel

Signed-off-by: Ye Tao <ye.tao@arm.com>
  • Loading branch information
taoye9 committed Feb 13, 2025
1 parent f42ce70 commit 8b2c705
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile.system
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ DYNAMIC_CORE += CORTEXA57
DYNAMIC_CORE += NEOVERSEN1
ifneq ($(NO_SVE), 1)
DYNAMIC_CORE += NEOVERSEV1
DYNAMIC_CORE += NEOVERSEV2
DYNAMIC_CORE += NEOVERSEN2
DYNAMIC_CORE += ARMV8SVE
DYNAMIC_CORE += A64FX
Expand Down
11 changes: 9 additions & 2 deletions driver/others/dynamic_arm64.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*********************************************************************/
/* Copyright 2009, 2010 The University of Texas at Austin. */
/* Copyright 2023-2024 The OpenBLAS Project */
/* Copyright 2023-2025 The OpenBLAS Project */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or */
Expand Down Expand Up @@ -105,6 +105,11 @@ extern gotoblas_t gotoblas_NEOVERSEV1;
#else
#define gotoblas_NEOVERSEV1 gotoblas_ARMV8
#endif
#ifdef DYN_NEOVERSEV2
extern gotoblas_t gotoblas_NEOVERSEV2;
#else
#define gotoblas_NEOVERSEV2 gotoblas_ARMV8
#endif
#ifdef DYN_NEOVERSEN2
extern gotoblas_t gotoblas_NEOVERSEN2;
#else
Expand Down Expand Up @@ -139,18 +144,20 @@ extern gotoblas_t gotoblas_EMAG8180;
extern gotoblas_t gotoblas_NEOVERSEN1;
#ifndef NO_SVE
extern gotoblas_t gotoblas_NEOVERSEV1;
extern gotoblas_t gotoblas_NEOVERSEV2;
extern gotoblas_t gotoblas_NEOVERSEN2;
extern gotoblas_t gotoblas_ARMV8SVE;
extern gotoblas_t gotoblas_A64FX;
#else
#define gotoblas_NEOVERSEV1 gotoblas_ARMV8
#define gotoblas_NEOVERSEV2 gotoblas_ARMV8
#define gotoblas_NEOVERSEN2 gotoblas_ARMV8
#define gotoblas_ARMV8SVE gotoblas_ARMV8
#define gotoblas_A64FX gotoblas_ARMV8
#endif
extern gotoblas_t gotoblas_THUNDERX3T110;
#endif
#define gotoblas_NEOVERSEV2 gotoblas_NEOVERSEV1


extern void openblas_warning(int verbose, const char * msg);
#define FALLBACK_VERBOSE 1
Expand Down

0 comments on commit 8b2c705

Please # to comment.