[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:39:19 PST 2023
jhuber6 added a comment.
In D141861#4094036 <https://reviews.llvm.org/D141861#4094036>, @srj wrote:
> In D141861#4092237 <https://reviews.llvm.org/D141861#4092237>, @tra wrote:
>
>> For what it's worth, NVIDIA has started deprecating 32-bit binaries long ago (https://forums.developer.nvidia.com/t/deprecation-plans-for-32-bit-linux-x86-cuda-toolkit-and-cuda-driver/31356) and the process had finally come to the end with the release of CUDA-12:
>
> Hmm... maybe the right answer then is to just always use the dynamic-loading path when doing any kind of 32-bit build.
That's probably the best option. I don't think we have much pretense of supporting 64-bit offloading right now. Would this just require checking `LLVM_BUILD_32_BITS`? Should be an easy change.
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