[clang] [llvm] [AMDGPU] Introduce GFX9/10.1/10.3/11 Generic Targets (PR #76955)
Pierre van Houtryve via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 7 00:15:52 PST 2024
================
@@ -520,6 +520,102 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
=========== =============== ============ ===== ================= =============== =============== ======================
+Generic processors allow execution of a single code objects on any of the processors that
+it supports. Such code objects may not perform as well as those for the non-generic processors.
+
+Generic processors are only available on code object V6 and above (see :ref:`amdgpu-elf-code-object`).
+
+Generic processor code objects are versioned (see :ref:`amdgpu-elf-header-e_flags-table-v6-onwards`).
+The version number is used by runtimes to determine if a code object can be run on a specific agent.
----------------
Pierre-vh wrote:
I rephrased it a bit (e.g. member -> supported processor) but I mostly followed your suggestion
https://github.com/llvm/llvm-project/pull/76955
More information about the cfe-commits
mailing list