diff options
author | Ye Luo <yeluo@anl.gov> | 2020-09-24 12:39:22 -0400 |
---|---|---|
committer | Shilei Tian <tianshilei1992@gmail.com> | 2020-09-24 12:39:59 -0400 |
commit | ffd159d8e919435561a8c9eac0dcdd83aacdcf6a (patch) | |
tree | d69e309aed4ae530a8e3b17db4de48618c1dc8dc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ada1e2ffa1172ede1790b4b42ef8ab01508d3a47 (diff) | |
download | llvm-ffd159d8e919435561a8c9eac0dcdd83aacdcf6a.zip llvm-ffd159d8e919435561a8c9eac0dcdd83aacdcf6a.tar.gz llvm-ffd159d8e919435561a8c9eac0dcdd83aacdcf6a.tar.bz2 |
[OpenMP] cmake option LIBOMPTARGET_NVPTX_MAX_SM for nvptx device RTL
It allows customizing MAX_SM for non-flagship GPU and reduces graphic memory usage.
In addition, so far the size is hard-coded up to __CUDA_ARCH__ 700 and is already a hassle for 800.
Introduce MAX_SM for 800 and protect future arch
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D88185
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions