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
Generic processor (see :ref:`amdgpu-generic-processor-table`) code objects are versioned (see :ref:`amdgpu-elf-header-e_flags-table-v6-onwards`) between 1 and 255.
621
+
The version of non-generic code objects is always set to 0.
622
+
623
+
For a generic code object, adding a new supported processor may require the code generated for the generic target to be changed
624
+
so it can continue to execute on the previously supported processors as well as on the new one.
625
+
When this happens, the generic code object version number is incremented at the same time as the generic target is updated.
626
+
627
+
Each supported processor of a generic target is mapped to the version it was introduced in.
628
+
A generic code object can execute on a supported processor if the version of the code object being loaded is
629
+
greater than or equal to the version in which the processor was added to the generic target.
624
630
625
631
.. _amdgpu-target-features:
626
632
@@ -1803,7 +1809,7 @@ The AMDGPU backend uses the following ELF header:
0 commit comments