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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D44837
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 23 2018, 12:44 PM Closed by commit rL328362: [CUDA] Fixed false error reporting in case of calling H->G->HD->D. (authored by tra). · Explain WhyMar 23 2018, 12:51 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 139642 cfe/trunk/lib/Sema/SemaCUDA.cpp
cfe/trunk/test/SemaCUDA/call-device-fn-from-host.cu
|