[all-commits] [llvm/llvm-project] 7e4c6f: [OpenMP] Reduce the size of heap memory required b...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Dec 20 15:03:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e4c6f6cb2e17ee186c9525e59218de0b2277799
      https://github.com/llvm/llvm-project/commit/7e4c6f6cb2e17ee186c9525e59218de0b2277799
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M openmp/libomptarget/test/offloading/malloc.c
    M openmp/libomptarget/test/offloading/malloc_parallel.c

  Log Message:
  -----------
  [OpenMP] Reduce the size of heap memory required by the test `malloc_parallel.c` (#75885)

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.




More information about the All-commits mailing list