[PATCH] D141861: [nvptx-arch] Dynamically load the CUDA runtime if not found during the build

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 31 09:47:34 PST 2023


jhuber6 added a comment.

In D141861#4094058 <https://reviews.llvm.org/D141861#4094058>, @srj wrote:

> In D141861#4094043 <https://reviews.llvm.org/D141861#4094043>, @jhuber6 wrote:
>
>> Would this just require checking `LLVM_BUILD_32_BITS`? Should be an easy change.
>
> I think so. (It might be tempting to check `if (CMAKE_SIZEOF_VOID_P EQUAL 8)` but LLVM_BUILD_32_BITS is likely to be a more explicit signal.)

SG, want me to push that real quick?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141861



More information about the cfe-commits mailing list