This revision was automatically updated to reflect the committed changes.
yaxunl marked an inline comment as done.
Closed by commit rGdc6a0b0ec7e3: [HIP] Align device binary (authored by yaxunl).
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
http
yaxunl marked an inline comment as done.
yaxunl added inline comments.
Comment at: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp:374
+auto BI = BundlesInfo[CurWriteBundleTarget];
+OS.seek(BI.Offset);
OS.write(Input.getBufferStart(), Input.getBufferSize())
tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp:374
+auto BI = BundlesInfo[CurWriteBundleTarget];
+OS.seek(BI.Offset);
OS.write(Input.getBuff
yaxunl created this revision.
yaxunl added reviewers: tra, ashi1.
yaxunl requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
To facilitate faster loading of device binaries and share them among processes,
HIP runtime favors their alignment be