13 #ifndef MLIR_CONVERSION_GPUTOSPIRV_GPUTOSPIRV_H
14 #define MLIR_CONVERSION_GPUTOSPIRV_GPUTOSPIRV_H
21 class SPIRVTypeConverter;
32 const SPIRVTypeConverter &typeConverter, RewritePatternSet &
patterns);
37 SPIRVTypeConverter &typeConverter);
Include the generated interface declarations.
void populateGpuWMMAToSPIRVCoopMatrixKHRConversionPatterns(const SPIRVTypeConverter &typeConverter, RewritePatternSet &patterns)
Collect a set of patterns to convert WMMA ops from GPU dialect to SPIRV, using the KHR Cooperative Ma...
const FrozenRewritePatternSet & patterns
void populateGPUToSPIRVPatterns(const SPIRVTypeConverter &typeConverter, RewritePatternSet &patterns)
Appends to a pattern list additional patterns for translating GPU Ops to SPIR-V ops.
void populateMMAToSPIRVCoopMatrixTypeConversion(SPIRVTypeConverter &typeConverter)
Adds MMAMatrixType conversions to SPIR-V cooperative matrix KHR type conversion to the type converter...