LLVM 23.0.0git
llvm::AMDGPU::HardwareLimits Struct Reference

Represents the hardware counter limits for different wait count types. More...

#include "Target/AMDGPU/AMDGPUWaitcntUtils.h"

Public Member Functions

 HardwareLimits ()=default
 HardwareLimits (const IsaVersion &IV)
 Initializes hardware limits from ISA version.
unsigned get (InstCounterType T) const

Public Attributes

unsigned LoadcntMax
unsigned ExpcntMax
unsigned DscntMax
unsigned StorecntMax
unsigned SamplecntMax
unsigned BvhcntMax
unsigned KmcntMax
unsigned XcntMax
unsigned AsyncMax
unsigned VaVdstMax
unsigned VmVsrcMax

Detailed Description

Represents the hardware counter limits for different wait count types.

Definition at line 50 of file AMDGPUWaitcntUtils.h.

Constructor & Destructor Documentation

◆ HardwareLimits() [1/2]

llvm::AMDGPU::HardwareLimits::HardwareLimits ( )
default

References IV, and T.

◆ HardwareLimits() [2/2]

Member Function Documentation

◆ get()

Member Data Documentation

◆ AsyncMax

unsigned llvm::AMDGPU::HardwareLimits::AsyncMax

Definition at line 59 of file AMDGPUWaitcntUtils.h.

Referenced by HardwareLimits().

◆ BvhcntMax

unsigned llvm::AMDGPU::HardwareLimits::BvhcntMax

Definition at line 56 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ DscntMax

unsigned llvm::AMDGPU::HardwareLimits::DscntMax

Definition at line 53 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ ExpcntMax

unsigned llvm::AMDGPU::HardwareLimits::ExpcntMax

Definition at line 52 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ KmcntMax

unsigned llvm::AMDGPU::HardwareLimits::KmcntMax

Definition at line 57 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ LoadcntMax

unsigned llvm::AMDGPU::HardwareLimits::LoadcntMax

Definition at line 51 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ SamplecntMax

unsigned llvm::AMDGPU::HardwareLimits::SamplecntMax

Definition at line 55 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ StorecntMax

unsigned llvm::AMDGPU::HardwareLimits::StorecntMax

Definition at line 54 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ VaVdstMax

unsigned llvm::AMDGPU::HardwareLimits::VaVdstMax

Definition at line 60 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ VmVsrcMax

unsigned llvm::AMDGPU::HardwareLimits::VmVsrcMax

Definition at line 61 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().

◆ XcntMax

unsigned llvm::AMDGPU::HardwareLimits::XcntMax

Definition at line 58 of file AMDGPUWaitcntUtils.h.

Referenced by get(), and HardwareLimits().


The documentation for this struct was generated from the following files: