This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget-nvptx-bc] Pass found CUDA installations
ClosedPublic

Authored by Hahnfeld on May 16 2018, 1:40 AM.

Details

Summary

We already know where the CUDA SDK is, so there is no point in
letting Clang search for it again and possibly finding no or
a different installation.

--cuda-path is supported since the beginning of CUDA support in
Clang, so making this required doesn't impose additional restrictions.

Diff Detail

Event Timeline

Hahnfeld created this revision.May 16 2018, 1:40 AM
This revision is now accepted and ready to land.May 16 2018, 6:10 AM
grokos accepted this revision.May 16 2018, 8:32 AM

LGTM

This revision was automatically updated to reflect the committed changes.