By default, lit uses all threads to invoke tests, which can easily cause out
of memory on GPUs because most of OpenMP offloading test usually take about 1GB
GPU memory, but a typical GPU only has 4-8GB memory. This patch introduce a
CMake argument LIBOMPTARGET_LIT_ARGS to allow users to control the behavior of
libomptarget tests, similar to LLVM_LIT_ARGS.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Could we add this to the openmp docs at the same time?
Aside from whitespace churn, this adds ARGS string to the invocations, which looks plausible.