This is an archive of the discontinued LLVM Phabricator instance.

[nvptx-arch] Dynamically load `libcuda.so.1` directly instead
ClosedPublic

Authored by jhuber6 on Apr 4 2023, 4:12 PM.

Details

Summary

This patch loads the CUDA driver library directly via its real
DT_SONAME. This prevents the filesystem from needing to reload it in
cases when it's already loaded.

Diff Detail

Event Timeline

jhuber6 created this revision.Apr 4 2023, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 4:12 PM
jhuber6 requested review of this revision.Apr 4 2023, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 4:12 PM
tra accepted this revision.Apr 4 2023, 4:36 PM
This revision is now accepted and ready to land.Apr 4 2023, 4:36 PM
This revision was landed with ongoing or failed builds.Apr 4 2023, 5:50 PM
This revision was automatically updated to reflect the committed changes.