This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Add support for CUDA 8 and sm_60-62.
ClosedPublic

Authored by jlebar on Jun 27 2016, 5:38 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 62048.Jun 27 2016, 5:38 PM
jlebar retitled this revision from to [CUDA] Add support for CUDA 8 and sm_60-62..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
tra edited edge metadata.Jul 6 2016, 10:26 AM

The changes look good.
They will need to wait for corresponding patch on LLVM side to deal with new SM variants, though.

lib/Driver/ToolChains.cpp
1715 ↗(On Diff #62048)

This is a bit premature as we can't compile CUDA-8 headers yet. Let's drop it until we're ready.

jlebar updated this revision to Diff 62908.Jul 6 2016, 10:32 AM
jlebar marked an inline comment as done.
jlebar edited edge metadata.

Don't pull in the cuda 8 headers by default.

jlebar added a comment.Jul 6 2016, 2:16 PM

They will need to wait for corresponding patch on LLVM side to deal with new SM variants, though.

This is in now, D22068.

lib/Driver/ToolChains.cpp
1715 ↗(On Diff #62048)

sgtm, removed.

This revision was automatically updated to reflect the committed changes.