This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] When compilation fails, print the compilation mode.
ClosedPublic

Authored by jlebar on Sep 6 2017, 6:13 PM.

Details

Summary

That is, instead of "1 error generated", we now say "1 error generated
when compiling for sm_35".

This (partially) solves a usability foogtun wherein e.g. users call a
function that's only defined on sm_60 when compiling for sm_35, and they
get an unhelpful error message.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar created this revision.Sep 6 2017, 6:13 PM
tra accepted this revision.Sep 7 2017, 9:27 AM

Nice.

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