Skip to content

fix HUGETLB allocation for TLS mode as well - #4681

Merged
martin-frbg merged 1 commit into
OpenMathLib:developfrom
martin-frbg:fix4662-2
May 7, 2024
Merged

martin-frbg merged 1 commit into
OpenMathLib:developfrom
martin-frbg:fix4662-2

Conversation

@martin-frbg

Copy link
Copy Markdown
Collaborator

part missed in #4662

@martin-frbg martin-frbg added this to the 0.3.28 milestone May 7, 2024
@martin-frbg
martin-frbg merged commit d66aa63 into OpenMathLib:develop May 7, 2024
rgommers added a commit to rgommers/OpenBLAS that referenced this pull request Dec 18, 2024
The warning was:
```
/home/rgommers/code/pixi-dev-scipystack/openblas/OpenBLAS/driver/others/memory.c: At top level:
/home/rgommers/code/pixi-dev-scipystack/openblas/OpenBLAS/driver/others/memory.c:2565:14: warning: 'alloc_hugetlb' defined but not used [-Wunused-function]
 2565 | static void *alloc_hugetlb(void *address){
      |              ^~~~~~~~~~~~~
```

The added define is the same as is already present in the TLS part of
`memory.c`. This follows up on OpenMathLibgh-4681.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant