Page MenuHomePhabricator

[cuda][hip] Fix `RegisterVar` function prototype.
ClosedPublic

Authored by hliao on Apr 3 2020, 7:24 AM.

Details

Summary
  • RegisterVar has void return type and size_t in its variable size parameter in HIP or CUDA 9.0+.

Diff Detail

Event Timeline

hliao created this revision.Apr 3 2020, 7:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2020, 7:24 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
yaxunl added a comment.Apr 3 2020, 7:44 AM

LGTM. Thanks!

tra accepted this revision.Apr 3 2020, 9:08 AM
This revision is now accepted and ready to land.Apr 3 2020, 9:08 AM
This revision was automatically updated to reflect the committed changes.