Browse Source
Merge pull request #4838 from martin-frbg/fix4662-3
fix invalid ifdef syntax in HUGETLB handling
tags/v0.3.28^2
Martin Kroeker
GitHub
1 year ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
driver/others/memory.c
|
|
@@ -2769,7 +2769,7 @@ void *blas_memory_alloc(int procpos){ |
|
|
|
#ifdef ALLOC_DEVICEDRIVER |
|
|
|
alloc_devicedirver, |
|
|
|
#endif |
|
|
|
#ifdef ALLOC_SHM && !defined(ALLOC_HUGETLB) |
|
|
|
#if defined(ALLOC_SHM) && !defined(ALLOC_HUGETLB) |
|
|
|
alloc_shm, |
|
|
|
#endif |
|
|
|
#if ((defined ALLOC_HUGETLB) && (defined OS_LINUX || defined OS_AIX || defined __sun__ || defined OS_WINDOWS)) |
|
|
|