Add documentation of unbundling of heterogeneous device archives to
create device specific archives, as introduced by D93525. Also, add
documentation for supported text file formats.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/docs/ClangOffloadBundler.rst | ||
---|---|---|
296 | This does not match our final view of compatibility. Is this intentional? Thanks. |
clang/docs/ClangOffloadBundler.rst | ||
---|---|---|
296 | Yes, I have intentionally removed the TargetID related compatibility testing. Plan is to introduce it with an upcoming patch for supporting TargetID in OpenMP. So, all changes in the clang driver and offload-bundler for TargetID will be introduced in one go. D106870 is supposed to put most of the necessary infrastructure in place so that TargetID support can be cleanly added. |
Do you mind if I fix the build failures by encasing the codelike section in a .. code::?
diff --git a/clang/docs/ClangOffloadBundler.rst b/clang/docs/ClangOffloadBundler.rst index 312c45602c99..ac4c5b51904f 100644 --- a/clang/docs/ClangOffloadBundler.rst +++ b/clang/docs/ClangOffloadBundler.rst @@ -273,6 +273,8 @@ file will contain device binaries for a host and one or more targets. The output device specific archive is in a format compatible with GNU ar utility and contains a collection of device binaries for a specific target. +.. code:: + Heterogeneous Device Archive, HDA = {F1.X, F2.X, ..., FN.Y} where, Fi = Bundle{Host-DeviceBinary, T1-DeviceBinary, T2-DeviceBinary, ..., Tm-DeviceBinary},
This does not match our final view of compatibility. Is this intentional? Thanks.