commit | d62a9ee64ad9122b49dfb21ea0a88a457ec4bdd0 | [log] [tgz] |
---|---|---|
author | Joseph Huber <jhuber6@vols.utk.edu> | Wed Jan 25 13:19:37 2023 -0600 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jan 25 12:00:30 2023 -0800 |
tree | 2e98bef2c644f9fc19ed67d7523f34bcd4e48baf | |
parent | 2011139d567c59edac60c21c64f6420049a457b7 [diff] |
[Libomptarget] Remove find_package(CUDA) as it has been deprecated Since D137724 and the LLVM 17 release we have updated to CMake version 3.20. This means that `find_package(CUDA)` is officially deprecated and can be replaced with `find_package(CUDAToolkit)` instead. This patch does this and also cleans up a bit of the CMake. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D142568 GitOrigin-RevId: c5686220460550476ddcc809e46b02ba44f2ee7e