This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Bump default GPU architecture to sm_35.
ClosedPublic

Authored by tra on Aug 17 2021, 12:57 PM.

Details

Summary

It's the oldest GPU architecture currently supported by all CUDA versions clang
can use.

See the comments in D77670 for more details.

Diff Detail

Event Timeline

tra created this revision.Aug 17 2021, 12:57 PM
tra requested review of this revision.Aug 17 2021, 12:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2021, 12:57 PM
tra added a comment.Aug 17 2021, 1:00 PM

cuda-options-freebsd.cu has been removed as it does not test anything useful -- it's a somewhat out of date copy of cuda-options.cu with replaced host triple, which does not matter for processing GPU options.

This revision is now accepted and ready to land.Aug 18 2021, 2:26 AM

(might be good to have an entry in the release notes?)

tra added a comment.Aug 18 2021, 11:33 AM

(might be good to have an entry in the release notes?)

I've updated release notes in D108248.

This revision was automatically updated to reflect the committed changes.
clang/test/Driver/cuda-march.cu