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
* If there is an entry with a target feature specified as *Any*, then all
293
293
entries must specify that target feature as *Any* for the same processor.
294
294
295
-
There may be additional targetspecific restrictions.
295
+
There may be additional target-specific restrictions.
296
296
297
297
.. _compatibility-bundle-entry-id:
298
298
299
299
Compatibility Rules for Bundle Entry ID
300
300
---------------------------------------
301
301
302
302
A code object, specified using its Bundle Entry ID, can be loaded and
303
-
executed on a target processor, if:
303
+
executed on a target processor if:
304
304
305
-
* Their offload kinds are the same or comptible.
305
+
* Their offload kinds are the same or compatible.
306
306
* Their target triples are compatible.
307
307
* Their Target IDs are compatible as defined in :ref:`compatibility-target-id`.
308
308
@@ -331,7 +331,7 @@ Target ID syntax is defined by the following BNF syntax:
331
331
Where:
332
332
333
333
**processor**
334
-
Is a the targetspecific processor or any alternative processor name.
334
+
Is the target-specific processor or any alternative processor name.
335
335
336
336
**target-feature**
337
337
Is a target feature name that is supported by the processor. Each target
@@ -350,7 +350,7 @@ Where:
350
350
can only be loaded on a processor configured with the target feature on.
351
351
352
352
*Off*
353
-
specified by ``-``, indicating the target feature is disabled. A code
353
+
Specified by ``-``, indicating the target feature is disabled. A code
354
354
object compiled with a target ID specifying a target feature off
355
355
can only be loaded on a processor configured with the target feature off.
356
356
@@ -360,9 +360,9 @@ Compatibility Rules for Target ID
360
360
---------------------------------
361
361
362
362
A code object compiled for a Target ID is considered compatible for a
363
-
target, if:
363
+
target if:
364
364
365
-
* Their processor is same.
365
+
* Their processor is the same.
366
366
* Their feature set is compatible as defined above.
367
367
368
368
There are two forms of target ID:
@@ -380,10 +380,10 @@ There are two forms of target ID:
380
380
alphabetic order. Command line tools convert non-canonical form to canonical
381
381
form.
382
382
383
-
TargetSpecific information
383
+
Target-Specific information
384
384
===========================
385
385
386
-
Targetspecific information is available for the following:
386
+
Target-specific information is available for the following:
387
387
388
388
*AMD GPU*
389
389
AMD GPU supports target ID and target features. See `User Guide for AMDGPU Backend
@@ -397,7 +397,7 @@ Most other targets do not support target IDs.
397
397
Archive Unbundling
398
398
==================
399
399
400
-
Unbundling of a heterogeneous device archive (HDA) is done to create devicespecific
400
+
Unbundling of a heterogeneous device archive (HDA) is done to create device-specific
401
401
archives. HDA is in a format compatible with GNU ``ar`` utility and contains a
402
402
collection of bundled device binaries where each bundle file will contain
403
403
device binaries for a host and one or more targets. The output device-specific
@@ -469,7 +469,7 @@ compatible with that particular offload target. Compatibility between a
469
469
device binary in HDA and a target is based on the compatibility between their
470
470
bundle entry IDs as defined in :ref:`compatibility-bundle-entry-id`.
471
471
472
-
Following cases may arise during compatibility testing:
472
+
The following cases may arise during compatibility testing:
473
473
474
474
* A binary is compatible with one or more targets: Insert the binary into the
475
475
device-specific archive of each compatible target.
@@ -517,7 +517,7 @@ Compression and Decompression
517
517
518
518
``clang-offload-bundler`` provides features to compress and decompress the full
519
519
bundle, leveraging inherent redundancies within the bundle entries. Use the
520
-
`-compress` command-line option to enable this compression capability.
520
+
``-compress`` command-line option to enable this compression capability.
521
521
522
522
The compressed offload bundle begins with a header followed by the compressed binary data:
523
523
@@ -542,4 +542,4 @@ The compressed offload bundle begins with a header followed by the compressed bi
542
542
- **Compressed Data**:
543
543
The actual compressed binary data follows the header. Its size can be inferred from the total size of the file minus the header size.
544
544
545
-
> **Note**: Version 3 is now the default format. For backward compatibility with older HIP runtimes that support version 2 only, set the environment variable `COMPRESSED_BUNDLE_FORMAT_VERSION=2`.
545
+
> **Note**: Version 3 is now the default format. For backward compatibility with older HIP runtimes that support version 2 only, set the environment variable ``COMPRESSED_BUNDLE_FORMAT_VERSION=2``.
0 commit comments