[OpenMP] Introduce an CMake find module for OpenMP Target support
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 22 Jun 2021 03:35:45 +0000 (23:35 -0400)
committerHuber, Joseph <huberjn@ornl.gov>
Wed, 23 Jun 2021 03:01:38 +0000 (23:01 -0400)
commit72d4cd627c74f7497a772561f49de5bd9c07b2d6
treed1d5377b100e943f4c7bac532faf837022fc2716
parent0246dd30046a95985f1abdfeafc39b2083dedfb0
[OpenMP] Introduce an CMake find module for OpenMP Target support

This introduces a CMake find module for detecting target offloading support in
a compiler. The goal is to make it easier to incorporate target offloading into
a cmake project.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D104710
openmp/tools/Modules/CMakeLists.txt [new file with mode: 0644]
openmp/tools/Modules/FindOpenMPTarget.cmake [new file with mode: 0644]
openmp/tools/Modules/README.rst [new file with mode: 0644]