#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/IR/Verifier.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.cpp.inc"
#include "mlir/Dialect/NVGPU/IR/NVGPUTypes.cpp.inc"
#include "mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.cpp.inc"
#include "mlir/Dialect/NVGPU/IR/NVGPU.cpp.inc"
#include "mlir/Dialect/NVGPU/IR/NVGPUEnums.cpp.inc"
Go to the source code of this file.
|
static LogicalResult | verifyMmaSyncOp (Operation *op, TypedValue< VectorType > matrixA, TypedValue< VectorType > matrixB, TypedValue< VectorType > matrixC, const std::array< int64_t, 3 > &mmaShape, bool tf32Enabled, bool sparse=false) |
| Performs verification for MmaSyncOp and MmaSparseSyncOp. More...
|
|
std::optional< InFlightDiagnostic > | verifyTmaDescriptorWithMemref (Operation *op, nvgpu::TensorMapDescriptorType descType, std::optional< MemRefType > memrefType=std::nullopt) |
|
LogicalResult | isAllowedWGMMADataType (Type typeD, Type typeA, Type typeB) |
|
LogicalResult | isAllowedSizeM (int sizeM) |
|
LogicalResult | isAllowedSizeN (int sizeN, Type typeA) |
|
◆ GET_ATTRDEF_CLASSES
#define GET_ATTRDEF_CLASSES |
◆ GET_ATTRDEF_LIST
◆ GET_OP_CLASSES
◆ GET_OP_LIST
◆ GET_TYPEDEF_CLASSES
#define GET_TYPEDEF_CLASSES |
◆ GET_TYPEDEF_LIST
◆ isAllowedSizeM()
◆ isAllowedSizeN()
◆ isAllowedWGMMADataType()
◆ verifyMmaSyncOp()
Performs verification for MmaSyncOp and MmaSparseSyncOp.
Definition at line 142 of file NVGPUDialect.cpp.
◆ verifyTmaDescriptorWithMemref()
std::optional<InFlightDiagnostic> verifyTmaDescriptorWithMemref |
( |
Operation * |
op, |
|
|
nvgpu::TensorMapDescriptorType |
descType, |
|
|
std::optional< MemRefType > |
memrefType = std::nullopt |
|
) |
| |