This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Place GPU binary into .nv_fatbin section and align it by 8.
ClosedPublic

Authored by tra on Aug 11 2016, 3:29 PM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

tra updated this revision to Diff 67754.Aug 11 2016, 3:29 PM
tra retitled this revision from to [CUDA] Place GPU binary into .nv_fatbin section and align it by 8. .
tra updated this object.
tra added a reviewer: jlebar.
tra added a subscriber: cfe-commits.
jlebar added inline comments.Aug 11 2016, 3:56 PM
lib/CodeGen/CGCUDANV.cpp
62 ↗(On Diff #67754)

StringRefs aren't necessarily null-terminated. :)

tra updated this revision to Diff 67851.Aug 12 2016, 10:15 AM

Reverted argument type to std::string

tra marked an inline comment as done.Aug 12 2016, 10:16 AM
tra added inline comments.
lib/CodeGen/CGCUDANV.cpp
62–69 ↗(On Diff #67851)

Good point. I've reverted argument types to std::string.

jlebar accepted this revision.Aug 12 2016, 10:22 AM
jlebar edited edge metadata.
This revision is now accepted and ready to land.Aug 12 2016, 10:22 AM
This revision was automatically updated to reflect the committed changes.
tra marked an inline comment as done.