You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__hipRegisterFatBinary only accepts one pointer argument. It is
expected to get the fat binary size from the header.
This patch adds a file size field to the header of the compressed
bundle.
Copy file name to clipboardExpand all lines: clang/docs/ClangOffloadBundler.rst
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -518,11 +518,14 @@ The compressed offload bundle begins with a header followed by the compressed bi
518
518
This is a unique identifier to distinguish compressed offload bundles. The value is the string 'CCOB' (Compressed Clang Offload Bundle).
519
519
520
520
- **Version Number (16-bit unsigned int)**:
521
-
This denotes the version of the compressed offload bundle format. The current version is `1`.
521
+
This denotes the version of the compressed offload bundle format. The current version is `2`.
522
522
523
523
- **Compression Method (16-bit unsigned int)**:
524
524
This field indicates the compression method used. The value corresponds to either `zlib` or `zstd`, represented as a 16-bit unsigned integer cast from the LLVM compression enumeration.
525
525
526
+
- **Total File Size (32-bit unsigned int)**:
527
+
This is the total size (in bytes) of the file, including the header. Available in version 2 and above.
0 commit comments