[all-commits] [llvm/llvm-project] be9284: [AMDGPU] NFC: Add schedule-relaxed-occupancy to re...

Jeffrey Byrnes via All-commits all-commits at lists.llvm.org
Wed Jun 28 08:13:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be92848ea4ef71280d2bb86e04d548dad2def94b
      https://github.com/llvm/llvm-project/commit/be92848ea4ef71280d2bb86e04d548dad2def94b
  Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    A llvm/test/CodeGen/AMDGPU/schedule-relaxed-occupancy.ll

  Log Message:
  -----------
  [AMDGPU] NFC: Add schedule-relaxed-occupancy to relax occupancy targets for wave-limited/membound kernels

Default scheduling behavior for these types of kernels is to chase high occupancy goals with scheduling heuristics, but allow occupancy drops if we are unable to reach the target.

This (experimental, off-by-default) feature relaxes occupancy target from the beginning, which enables scheduler to produce better ILP schedules.

Differential Revision: https://reviews.llvm.org/D153925

Change-Id: I112833214e2db869704591f4df3c4574d0fcbb1b




More information about the All-commits mailing list