MLIR  19.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::amdgpu::Chipset Struct Reference

#include "mlir/Dialect/AMDGPU/Utils/Chipset.h"

Public Member Functions

 Chipset ()=default
 Chipset (unsigned majorVersion, unsigned minorVersion)

Static Public Member Functions

static FailureOr< Chipsetparse (StringRef name)

Public Attributes

unsigned majorVersion = 0
unsigned minorVersion = 0

Detailed Description

Definition at line 15 of file Chipset.h.

Constructor & Destructor Documentation

◆ Chipset() [1/2]

mlir::amdgpu::Chipset::Chipset ( )

Referenced by parse().

◆ Chipset() [2/2]

mlir::amdgpu::Chipset::Chipset ( unsigned  majorVersion,
unsigned  minorVersion 

Definition at line 17 of file Chipset.h.

Member Function Documentation

◆ parse()

FailureOr< Chipset > Chipset::parse ( StringRef  name)

Definition at line 16 of file Chipset.cpp.

References Chipset(), and mlir::failure().

Member Data Documentation

◆ majorVersion

unsigned mlir::amdgpu::Chipset::majorVersion = 0

Definition at line 21 of file Chipset.h.

Referenced by mlir::amdgpu::populateAmdgpuEmulateAtomicsPatterns().

◆ minorVersion

unsigned mlir::amdgpu::Chipset::minorVersion = 0

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