================
@@ -153,9 +153,33 @@ def CIR_OffloadKindAttr : CIR_EnumAttr<CIR_OffloadKind, 
"offload"> {
     unchanged; the layout above is enforced by the CIR dialect attribute
     verifier, following the `gpu.container_module` precedent.
 
-    The attribute names `cir.offload.container` and `cir.offload.kind` are
-    defined by the `getOffloadContainerAttrName` and `getOffloadKindAttrName`
-    methods in the CIRDialect class.
+    A nested module may also carry `cir.offload.bundle_id`, a string holding
+    the offload bundle ID (`<offload kind>-<target triple>[-<target ID>]`, as
+    used by clang-offload-bundler) of the compilation the module came from,
+    e.g. `"hip-amdgcn-amd-amdhsa--gfx90a:xnack+"`. It identifies a module
+    when splitting the container back into per-target modules; the target
+    triple alone does not, since several device modules may share a triple
----------------
RiverDave wrote:

Not needed after: [`facc70f` (this 
PR)](https://github.com/llvm/llvm-project/pull/240322/changes/facc70f105f6c42e0ca05b4ff402a9e6e3f6c377)

https://github.com/llvm/llvm-project/pull/240322
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to