[Libomptarget] Build the static library without CUDA installed
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 13 May 2022 20:29:39 +0000 (16:29 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 13 May 2022 20:30:58 +0000 (16:30 -0400)
commit54e02179b33f6bfd1c7bd836e790effd5ffb715c
tree09e6227ea270b8d7139b0208358e7d3776981ba3
parent7dc23abbd3b298016cc6ae49a124f414e76903b6
[Libomptarget] Build the static library without CUDA installed

Summary:
This patch allows users to compile the static library without CUDA
installed on the system. This requires the new flag `--cuda-feature` to
indicate that we need `+ptx61` in order to compile the runtime.
openmp/libomptarget/DeviceRTL/CMakeLists.txt