[Openmp-commits] [PATCH] D95466: [OpenMP][NVPTX] Drop dependence on CUDA to build NVPTX `deviceRTLs`

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 26 11:46:22 PST 2021


JonChesterfield added a comment.

Cool, thank you. If I'm reading this right, we use the same CMAKE variables to pick a compiler as before, and compile every file 96 times to create 96 libraries.

That seems OK, if a bit inefficient. I believe it's only target_impl.cpp that cares about ptx version, so we could reduce the build time by compiling everything else once per SM and using llvm-link to create each output library from the common base plus the ptx-specific target_impl


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95466/new/

https://reviews.llvm.org/D95466



More information about the Openmp-commits mailing list