aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorShilei Tian <tianshilei1992@gmail.com>2021-03-08 12:02:55 -0500
committerShilei Tian <tianshilei1992@gmail.com>2021-03-08 12:03:04 -0500
commitc41ae246ac673e97ec1abdc2b9cbe1989f8682fe (patch)
tree128a325c0aa8f10ce46311dbcb2c342f426d332f /llvm/lib/Object/WasmObjectFile.cpp
parent97a7bc5831152eabcd61e5b970c054ce67c2c91b (diff)
downloadllvm-c41ae246ac673e97ec1abdc2b9cbe1989f8682fe.zip
llvm-c41ae246ac673e97ec1abdc2b9cbe1989f8682fe.tar.gz
llvm-c41ae246ac673e97ec1abdc2b9cbe1989f8682fe.tar.bz2
[OpenMP][Clang][NVPTX] Only build one bitcode library for each SM
In D97003, CUDA 9.2 is the minimum requirement for OpenMP offloading on NVPTX target. We don't need to have macros in source code to select right functions based on CUDA version. we don't need to compile multiple bitcode libraries of different CUDA versions for each SM. We don't need to worry about future compatibility with newer CUDA version. `-target-feature +ptx61` is used in this patch, which corresponds to the highest PTX version that CUDA 9.2 can support. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D97198
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions