This method to look up the CUDA architecture is deprecated in newer
versions of CMake. We also have our own way to query this information
that we control now via the nvptx-arch program, which should always be
present in LLVM builds with clang going forward. This is currently only
used for testing so I think we should be okay with the dependency.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake | ||
---|---|---|
107 | We can't do that until the LLVM CMake version is bumped up in the 17 branch. |
openmp/libomptarget/test/lit.cfg | ||
---|---|---|
88 | The indentation was an accident. The slice is because the old version returned just 70 while the new one would output sm_70. |
We also have to update this to FindCUDAToolkit.