[all-commits] [llvm/llvm-project] 954711: [OpenMP][Offloading] Add a CMake argument LIBOMPTA...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sun Jul 18 10:16:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 954711ed8f0d1eba3e7708e786a1dadf7e9a18ce
https://github.com/llvm/llvm-project/commit/954711ed8f0d1eba3e7708e786a1dadf7e9a18ce
Author: Shilei Tian <tianshilei1992 at gmail.com>
Date: 2021-07-18 (Sun, 18 Jul 2021)
Changed paths:
M openmp/README.rst
M openmp/libomptarget/test/CMakeLists.txt
Log Message:
-----------
[OpenMP][Offloading] Add a CMake argument LIBOMPTARGET_LIT_ARGS to control behavior of libomptarget lit test
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`.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D106236
More information about the All-commits
mailing list