Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4490 from ChipKerchner/missingCPUIDsFo…
Browse files Browse the repository at this point in the history
…rAIX

Add missing CPU ID definitions for old versions of AIX.
  • Loading branch information
martin-frbg authored Feb 7, 2024
2 parents 3447633 + 08ce6b1 commit 818bf30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions driver/others/dynamic_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ char *gotoblas_corename(void) {
#define CPU_POWER9 9
#define CPU_POWER10 10

#ifndef POWER_9
#define POWER_9 0x20000 /* 9 class CPU */
#endif
#ifndef POWER_10
#define POWER_10 0x40000 /* 10 class CPU */
#endif

#ifdef _AIX
#include <sys/systemcfg.h>

Expand Down

0 comments on commit 818bf30

Please sign in to comment.