This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Added rudimentary support for CUDA-9 and sm_70.
ClosedPublic

Authored by tra on Sep 7 2017, 10:14 AM.

Details

Summary

For now CUDA-9 is not included in the list of CUDA versions clang
searches for, so the path to CUDA-9 must be explicitly passed
via --cuda-path=.

On LLVM side NVPTX added sm_70 GPU type which bumps required
PTX version to 6.0, but otherwise is equivalent to sm_62 at the moment.

Event Timeline

tra created this revision.Sep 7 2017, 10:14 AM
tra updated this revision to Diff 114206.Sep 7 2017, 10:31 AM

Added tests for sm_70 support.

jlebar accepted this revision.Sep 7 2017, 10:35 AM

Looks great.

This revision is now accepted and ready to land.Sep 7 2017, 10:35 AM
This revision was automatically updated to reflect the committed changes.