Skip to content

Commit fe23ead

Browse files
authored
Merge pull request #5758 from martin-frbg/spack_bignuma
Automatically assume BIGNUMA if more than 256 CPUs defined/detected
2 parents 330abcd + 822b873 commit fe23ead

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

driver/others/init.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7272

7373
#include "common.h"
7474

75+
#if (MAX_CPU_NUMBER > 256)
76+
#ifndef BIGNUMA
77+
#define BIGNUMA
78+
#endif
79+
#endif
80+
7581
#if defined(OS_LINUX) && defined(SMP)
7682

7783
#define _GNU_SOURCE

0 commit comments

Comments
 (0)