Page MenuHomePhabricator

[AMDGPU] Emit correct kernel descriptor on big-endian hosts
ClosedPublic

Authored by scott.linder on Oct 5 2020, 3:51 PM.

Details

Summary

Previously we wrote multi-byte values out as-is from host memory. Use the emitIntN helpers in MCStreamer to produce a valid descriptor irrespective of the host endianness.

Diff Detail

Event Timeline

scott.linder created this revision.Oct 5 2020, 3:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2020, 3:51 PM
scott.linder requested review of this revision.Oct 5 2020, 3:51 PM
arsenm accepted this revision.Oct 5 2020, 3:54 PM
This revision is now accepted and ready to land.Oct 5 2020, 3:54 PM
rochauha accepted this revision.Oct 5 2020, 8:27 PM
This revision was landed with ongoing or failed builds.Oct 6 2020, 10:30 AM
This revision was automatically updated to reflect the committed changes.