|
static MemoryConfigAttr | get (::mlir::MLIRContext *context, BufferTypeAttr bufferType, ShardSpecAttr shardSpec, TensorMemoryLayoutAttr tensorMemoryLayout) |
|
static MemoryConfigAttr | getChecked (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, BufferTypeAttr bufferType, ShardSpecAttr shardSpec, TensorMemoryLayoutAttr tensorMemoryLayout) |
|
::llvm::LogicalResult | verify (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, BufferTypeAttr bufferType, ShardSpecAttr shardSpec, TensorMemoryLayoutAttr tensorMemoryLayout) |
|
::llvm::LogicalResult | verifyInvariants (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, BufferTypeAttr bufferType, ShardSpecAttr shardSpec, TensorMemoryLayoutAttr tensorMemoryLayout) |
|
static constexpr ::llvm::StringLiteral | getMnemonic () |
|
::mlir::Attribute | parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType) |
|
|
static constexpr ::llvm::StringLiteral | name = "ttnn.memory_config" |
|
static constexpr ::llvm::StringLiteral | dialectName = "ttnn" |
|
◆ get()
◆ getBufferType()
BufferTypeAttr mlir::tt::ttnn::MemoryConfigAttr::getBufferType |
( |
| ) |
const |
◆ getChecked()
◆ getMnemonic()
static constexpr ::llvm::StringLiteral mlir::tt::ttnn::MemoryConfigAttr::getMnemonic |
( |
| ) |
|
|
inlinestatic |
◆ getShardShape()
llvm::ArrayRef<int64_t> mlir::tt::ttnn::MemoryConfigAttr::getShardShape |
( |
bool |
convertTileToScalar = true | ) |
const |
◆ getShardSpec()
ShardSpecAttr mlir::tt::ttnn::MemoryConfigAttr::getShardSpec |
( |
| ) |
const |
◆ getTensorMemoryLayout()
◆ parse()
mlir::Attribute mlir::tt::ttnn::MemoryConfigAttr::parse |
( |
::mlir::AsmParser & |
odsParser, |
|
|
::mlir::Type |
odsType |
|
) |
| |
|
static |
◆ print()
void mlir::tt::ttnn::MemoryConfigAttr::print |
( |
::mlir::AsmPrinter & |
odsPrinter | ) |
const |
◆ verify()
◆ verifyInvariants()
◆ withBufferType()
◆ withMemoryLayout()
◆ dialectName
constexpr ::llvm::StringLiteral mlir::tt::ttnn::MemoryConfigAttr::dialectName = "ttnn" |
|
static |
◆ name
constexpr ::llvm::StringLiteral mlir::tt::ttnn::MemoryConfigAttr::name = "ttnn.memory_config" |
|
static |
The documentation for this class was generated from the following files: