This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Include CUDA headers before anything else.
ClosedPublic

Authored by jlebar on Aug 9 2016, 5:28 PM.

Details

Summary

There's no point to --cuda-path if we then go and include /usr/include
first. And if you install the right packages, Ubuntu will install (very
old) CUDA headers there.

Diff Detail

Event Timeline

jlebar updated this revision to Diff 67439.Aug 9 2016, 5:28 PM
jlebar retitled this revision from to [CUDA] Include CUDA headers before anything else..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added subscribers: Prazek, cfe-commits.
tra accepted this revision.Aug 11 2016, 3:41 PM
tra edited edge metadata.

OK. This should help with PR26966.

This revision is now accepted and ready to land.Aug 11 2016, 3:41 PM
This revision was automatically updated to reflect the committed changes.