[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
Mon Jan 30 15:58:02 PST 2023


jhuber6 added a comment.

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

> In D141861#4092096 <https://reviews.llvm.org/D141861#4092096>, @srj wrote:
>
>> Update: I may have a way to make this work from my side; testing now.
>
> Alas, that didn't work, stlll broken.

Interesting. It's definitely a bad problem that we find the 64-bit version and try to link with it for a cross-compile. I don't want to revert the code because the old `FIND_CUDA` is officially deprecated. I figured there was surely a way to check if LLVM was cross compiling.


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