Lines Matching +refs:clang +refs:format +refs:extract
14 metadata. We use a custom binary format for bundling all the device images
15 together. The image format is a small header wrapping around a string map. This
22 The binary format is marked by the ``0x10FF10AD`` magic bytes, followed by a
26 format is a serialization of a string map and an image buffer. The binary header
35 | uint8_t | magic | The magic bytes for the binary format (0x10FF10AD) |
37 | uint32_t | version | Version of this format (currently version 1) |
119 array of the :ref:`string entry<table-binary_string>` format.
141 bundled together by simply concatenating them in this format. Because we have
142 the magic bytes and size of each image, we can extract them as-needed.
158 USAGE: clang-offload-packager [options]
168 clang-offload-packager options:
182 clang-offload-packager -o out.bin --image=file=input.o,triple=nvptx64,arch=sm_70
191 clang-offload-packager in.bin --image=file=output.o,triple=nvptx64,arch=sm_70