This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Fixed false error reporting in case of calling H->G->HD->D.
ClosedPublic

Authored by tra on Mar 23 2018, 11:28 AM.

Details

Summary

Launching a kernel from the host code does not generate code for the
kernel itself. This fixes an issue with clang erroneously reporting
an error for a HD->D call from within the kernel.

Diff Detail

Repository
rL LLVM

Event Timeline

tra created this revision.Mar 23 2018, 11:28 AM
jlebar accepted this revision.Mar 23 2018, 12:44 PM
This revision is now accepted and ready to land.Mar 23 2018, 12:44 PM
This revision was automatically updated to reflect the committed changes.