This is an archive of the discontinued LLVM Phabricator instance.

[SE] Add getByteCount methods for device memory
ClosedPublic

Authored by jhen on Sep 2 2016, 10:34 AM.

Details

Summary

Simple utility methods will prevent users from making mistakes when
converting element counts to byte counts.

Diff Detail

Event Timeline

jhen updated this revision to Diff 70188.Sep 2 2016, 10:34 AM
jhen retitled this revision from to [SE] Add getByteCount methods for device memory.
jhen updated this object.
jhen added a reviewer: jlebar.
jhen added subscribers: parallel_libs-commits, jprice.
jlebar accepted this revision.Sep 2 2016, 2:57 PM
jlebar edited edge metadata.
This revision is now accepted and ready to land.Sep 2 2016, 2:57 PM
This revision was automatically updated to reflect the committed changes.