[PATCH] D147408: [AMDGPU] Iterative scan implementation for atomic optimizer.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 02:06:48 PDT 2023


foad added a comment.

> We need to enable atomic optimizer using `-amdgpu-atomic-optimizations=true` and then 
> we can use `-amdgpu-atomic-optimizer-strategy=DPP/Iterative` flag to select the strategy for scan (defaulted to DPP for now and will be changed to Iterative for compute pipeline once LLPC adapts to this change).
>
> This will allow LLPC to adjust to new change and then we can enable and default to Iterative strategy using only one flag -amdgpu-atomic-optimizer-strategy=DPP/Iterative
> and deprecate `-amdgpu-atomic-optimizations`

Here's the LLPC patch to set `-amdgpu-atomic-optimizer-strategy=DPP`: https://github.com/GPUOpen-Drivers/llpc/pull/2506


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147408/new/

https://reviews.llvm.org/D147408



More information about the llvm-commits mailing list