From 6d28dffb6bf4c97848290b9aee3c19025470e54a Mon Sep 17 00:00:00 2001 From: Carl Ritson Date: Thu, 18 Nov 2021 08:47:14 +0900 Subject: [PATCH] [AMDGPU] Update GFX10 memory model to account for MALL Document memory attached last level (MALL) cache added in GFX10.3. Reviewed By: t-tye Differential Revision: https://reviews.llvm.org/D114076 --- llvm/docs/AMDGPUUsage.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst index 3fa80e56f288..8984ab1a202f 100644 --- a/llvm/docs/AMDGPUUsage.rst +++ b/llvm/docs/AMDGPUUsage.rst @@ -373,7 +373,7 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following - Ryzen 3 Pro 4350G - Ryzen 3 Pro 4350GE - **GCN GFX10 (RDNA 1)** [AMD-GCN-GFX10-RDNA1]_ + **GCN GFX10.1 (RDNA 1)** [AMD-GCN-GFX10-RDNA1]_ ----------------------------------------------------------------------------------------------------------------------- ``gfx1010`` ``amdgcn`` dGPU - cumode - Absolute - *rocm-amdhsa* - Radeon RX 5700 - wavefrontsize64 flat - *pal-amdhsa* - Radeon RX 5700 XT @@ -393,7 +393,7 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following Add product names. - **GCN GFX10 (RDNA 2)** [AMD-GCN-GFX10-RDNA2]_ + **GCN GFX10.3 (RDNA 2)** [AMD-GCN-GFX10-RDNA2]_ ----------------------------------------------------------------------------------------------------------------------- ``gfx1030`` ``amdgcn`` dGPU - cumode - Absolute - *rocm-amdhsa* - Radeon RX 6800 - wavefrontsize64 flat - *pal-amdhsa* - Radeon RX 6800 XT @@ -8571,6 +8571,9 @@ For GFX10: requirements of acquire, release and sequential consistency. * The L2 cache can be kept coherent with other agents on some targets, or ranges of virtual addresses can be set up to bypass it to ensure system coherence. +* On GFX10.3 a memory attached last level (MALL) cache exists for GPU memory. + The MALL cache is fully coherent with GPU memory and has no impact on system + coherence. All agents (GPU and CPU) access GPU memory through the MALL cache. Scalar memory operations are only used to access memory that is proven to not change during the execution of the kernel dispatch. This includes constant -- GitLab