Skip to content

Commit

Permalink
Enable HUGETLB
Browse files Browse the repository at this point in the history
  • Loading branch information
XiWeiGu committed Apr 24, 2024
1 parent 54da8c9 commit 0188c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.h
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ static __inline void blas_lock(volatile BLASULONG *address){
#ifdef __NetBSD__
#define MMAP_POLICY (MAP_PRIVATE | MAP_ANON)
#else
#define MMAP_POLICY (MAP_PRIVATE | MAP_ANONYMOUS)
#define MMAP_POLICY (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
#endif

#ifndef ASSEMBLER
Expand Down

0 comments on commit 0188c0d

Please sign in to comment.