Skip to content

[OpenMP] Reduce the size of heap memory required by the test malloc_parallel.c #75885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

shiltian
Copy link
Contributor

@shiltian shiltian commented Dec 19, 2023

This patch reduces the size of heap memory required by the test
malloc_parallel.c and malloc.c. The original size is too large such
that malloc returns nullptr on many threads, causing illegal
memory access.

@llvmbot llvmbot added the openmp:libomptarget OpenMP offload runtime label Dec 19, 2023
…parallel.c`

This patch reduces the size of heap memory required by the test
`malloc_parallel.c`. The original size is too large such that `malloc` returns
`nullptr` on many threads, causing illegal memory access.
@jdoerfert jdoerfert merged commit 7e4c6f6 into llvm:main Dec 20, 2023
@shiltian shiltian deleted the fix-test-too-large branch December 20, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomptarget OpenMP offload runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants