This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget] Increase stack size for bug49779 test
ClosedPublic

Authored by jhuber6 on Feb 9 2022, 10:50 AM.

Details

Summary

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

Diff Detail

Event Timeline

jhuber6 requested review of this revision.Feb 9 2022, 10:50 AM
jhuber6 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 9 2022, 10:50 AM
This revision is now accepted and ready to land.Feb 9 2022, 12:36 PM
This revision was automatically updated to reflect the committed changes.