Browse Source

Use functionally equivalent dynamic targets

Similar to `drivers/other/dynamic.c`, I've looked for functionally
equivalent targets and mapped them in the default DYNAMIC_ARCH build.
Users can still build specific cores using DYNAMIC_LIST.
tags/v0.3.26
Chris Sidebottom 1 year ago
parent
commit
dc20a78188
2 changed files with 4 additions and 8 deletions
  1. +0
    -4
      Makefile.system
  2. +4
    -4
      driver/others/dynamic_arm64.c

+ 0
- 4
Makefile.system View File

@@ -677,16 +677,12 @@ ifeq ($(ARCH), arm64)
DYNAMIC_CORE = ARMV8 DYNAMIC_CORE = ARMV8
DYNAMIC_CORE += CORTEXA53 DYNAMIC_CORE += CORTEXA53
DYNAMIC_CORE += CORTEXA57 DYNAMIC_CORE += CORTEXA57
DYNAMIC_CORE += CORTEXA72
DYNAMIC_CORE += CORTEXA73
DYNAMIC_CORE += NEOVERSEN1 DYNAMIC_CORE += NEOVERSEN1
ifneq ($(NO_SVE), 1) ifneq ($(NO_SVE), 1)
DYNAMIC_CORE += NEOVERSEV1 DYNAMIC_CORE += NEOVERSEV1
DYNAMIC_CORE += NEOVERSEN2 DYNAMIC_CORE += NEOVERSEN2
DYNAMIC_CORE += ARMV8SVE DYNAMIC_CORE += ARMV8SVE
endif endif
DYNAMIC_CORE += CORTEXA55
DYNAMIC_CORE += FALKOR
DYNAMIC_CORE += THUNDERX DYNAMIC_CORE += THUNDERX
DYNAMIC_CORE += THUNDERX2T99 DYNAMIC_CORE += THUNDERX2T99
DYNAMIC_CORE += TSV110 DYNAMIC_CORE += TSV110


+ 4
- 4
driver/others/dynamic_arm64.c View File

@@ -122,10 +122,11 @@ extern gotoblas_t gotoblas_CORTEXA55;
#endif #endif
#else #else
extern gotoblas_t gotoblas_CORTEXA53; extern gotoblas_t gotoblas_CORTEXA53;
#define gotoblas_CORTEXA55 gotoblas_CORTEXA53
extern gotoblas_t gotoblas_CORTEXA57; extern gotoblas_t gotoblas_CORTEXA57;
extern gotoblas_t gotoblas_CORTEXA72;
extern gotoblas_t gotoblas_CORTEXA73;
extern gotoblas_t gotoblas_FALKOR;
#define gotoblas_CORTEXA72 gotoblas_CORTEXA57
#define gotoblas_CORTEXA73 gotoblas_CORTEXA57
#define gotoblas_FALKOR gotoblas_CORTEXA57
extern gotoblas_t gotoblas_THUNDERX; extern gotoblas_t gotoblas_THUNDERX;
extern gotoblas_t gotoblas_THUNDERX2T99; extern gotoblas_t gotoblas_THUNDERX2T99;
extern gotoblas_t gotoblas_TSV110; extern gotoblas_t gotoblas_TSV110;
@@ -141,7 +142,6 @@ extern gotoblas_t gotoblas_ARMV8SVE;
#define gotoblas_ARMV8SVE gotoblas_ARMV8 #define gotoblas_ARMV8SVE gotoblas_ARMV8
#endif #endif
extern gotoblas_t gotoblas_THUNDERX3T110; extern gotoblas_t gotoblas_THUNDERX3T110;
extern gotoblas_t gotoblas_CORTEXA55;
#endif #endif


extern void openblas_warning(int verbose, const char * msg); extern void openblas_warning(int verbose, const char * msg);


Loading…
Cancel
Save