[all-commits] [llvm/llvm-project] 9582f0: [Libomptarget] Increase stack size for bug49779 test

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Feb 9 12:37:38 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9582f0969041d79a386171dbf95ef83e4566c530
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-02-09 (Wed, 09 Feb 2022)

  Changed paths:
    M openmp/docs/SupportAndFAQ.rst
    M openmp/libomptarget/test/offloading/bug49779.cpp

  Log Message:
  [Libomptarget] Increase stack size for bug49779 test

The 'bug49779.cpp' test has been failing recently. This is because the
runtime is sufficiently complex when using nested parallelism without
optimizations that the CUDA tools cannot statically determine the stack
size. Because of this the kernel can exceed the thread stack size and
crash. Work around this using the 'LIBOMPTARGET_STACK_SIZE' environment
variable and add an FAQ entry for this situation.

Fixes #53670

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D119357

More information about the All-commits mailing list