This is an archive of the discontinued LLVM Phabricator instance.

[CUDA,HIP] Use VFS for SDK detection.
ClosedPublic

Authored by tra on Jun 12 2020, 3:34 PM.

Details

Summary

It's useful for using clang from tools that may need need to provide SDK files
from non-standard locations.

Clang CLI only provides -ivfsoverlay for include files, but not for the driver's use in general, so there's no
good way to test this yet.

Diff Detail

Event Timeline

tra created this revision.Jun 12 2020, 3:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2020, 3:34 PM
tra updated this revision to Diff 270533.Jun 12 2020, 3:39 PM
tra edited the summary of this revision. (Show Details)

Replaced another use of D.getVFS.

arsenm accepted this revision.Jun 12 2020, 5:03 PM
This revision is now accepted and ready to land.Jun 12 2020, 5:03 PM
This revision was automatically updated to reflect the committed changes.