13 #ifndef MLIR_CONVERSION_GPUTOSPIRV_GPUTOSPIRV_H
14 #define MLIR_CONVERSION_GPUTOSPIRV_GPUTOSPIRV_H
21 class SPIRVTypeConverter;
27 RewritePatternSet &patterns);
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...
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...