[Openmp-commits] [PATCH] D141933: [Libomptarget] Replace Nvidia arch lookup with 'nvptx-arch'
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 17 08:37:16 PST 2023
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake:107
endif()
find_package(CUDA QUIET)
----------------
We also have to update this to `FindCUDAToolkit`.
================
Comment at: openmp/libomptarget/test/lit.cfg:88
try:
- cuda_arch = int(config.cuda_test_arch)
+ cuda_arch = int(config.cuda_test_arch[:3])
if cuda_arch < 70:
----------------
why this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141933/new/
https://reviews.llvm.org/D141933
More information about the Openmp-commits
mailing list