#ifndef TRITON_CONVERSION_TRITONTOTRITONGPU_TRITONTOTRITONGPUPASS_H #define TRITON_CONVERSION_TRITONTOTRITONGPU_TRITONTOTRITONGPUPASS_H #include #include #include namespace mlir { class ModuleOp; template class OperationPass; namespace triton { // Create the pass with numWarps passed from cl::opt. std::unique_ptr> createConvertTritonToTritonGPUPass(); // Create the pass with numWarps set explicitly. std::unique_ptr> createConvertTritonToTritonGPUPass(const std::string &target, int numWarps, int threadsPerWarp = 32, int numCTAs = 1, bool enableSourceRemat = false); } // namespace triton } // namespace mlir #endif