Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,710
    • Issues 2,710
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 904
    • Merge requests 904
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !2384

aco: SGPR allocation granularity/limits and occupancy estimation improvements

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rhys Perry requested to merge pendingchaos/mesa:aco_max_waves_calc into master Oct 18, 2019
  • Overview 47
  • Commits 3
  • Pipelines 4
  • Changes 7

This MR makes ACO aware of GFX8/GFX9's increased allocation granularity and GFX10's fixed SGPR allocation and takes LDS into account when calculating Program::num_waves. To help keep pipeline-db useful, it causes ACO to report unrounded vgpr/sgpr counts instead of how much is actually allocated.

It also has some cleanups to deduplicate code and make the XNACK_MASK/FLAT_SCR registers handled a bit better.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: aco_max_waves_calc