2022-12-21 01:30:50 -08:00
|
|
|
#ifndef TRITON_CONVERSION_TRITONGPU_TO_LLVM_LOAD_STORE_OP_H
|
|
|
|
#define TRITON_CONVERSION_TRITONGPU_TO_LLVM_LOAD_STORE_OP_H
|
|
|
|
|
|
|
|
#include "TritonGPUToLLVMBase.h"
|
|
|
|
|
|
|
|
using namespace mlir;
|
|
|
|
using namespace mlir::triton;
|
|
|
|
|
2022-12-30 03:19:59 +08:00
|
|
|
void populateLoadStoreOpToLLVMPatterns(
|
|
|
|
mlir::LLVMTypeConverter &typeConverter, RewritePatternSet &patterns,
|
|
|
|
int numWarps, AxisInfoAnalysis &axisInfoAnalysis,
|
|
|
|
const Allocation *allocation, Value smem,
|
|
|
|
ConvertTritonGPUOpToLLVMPatternBase::IndexCacheInfo &indexCacheInfo,
|
|
|
|
PatternBenefit benefit);
|
2022-12-21 01:30:50 -08:00
|
|
|
|
|
|
|
#endif
|