Skip to content

Commit

Permalink
remove gpu pipelining
Browse files Browse the repository at this point in the history
delete multibufferext

delete gpu pipeling
  • Loading branch information
yangxinyu committed Jun 23, 2024
1 parent 0c7ed3e commit 2f1dfc0
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 711 deletions.
1 change: 0 additions & 1 deletion compiler/include/byteir/Dialect/GPU/Passes.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "byteir/Dialect/GPU/Transforms/GPUDistributeSharedMemoryCopy.h"
#include "byteir/Dialect/GPU/Transforms/GPUDistributeToWarp.h"
#include "byteir/Dialect/GPU/Transforms/GPUPackSharedMemoryAlloc.h"
#include "byteir/Dialect/GPU/Transforms/GPUPipelining.h"
#include "byteir/Dialect/GPU/Transforms/GPUTensorCoreVectorization.h"
#include "byteir/Dialect/GPU/Transforms/GPUVectorToGPU.h"
#include "byteir/Dialect/GPU/Transforms/OptimizeVectorTransfer.h"
Expand Down
14 changes: 0 additions & 14 deletions compiler/include/byteir/Dialect/GPU/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,6 @@ def GPUPackSharedMemoryAlloc : Pass<"gpu-pack-shared-memory-alloc", "func::FuncO
let constructor = "mlir::createGPUPackSharedMemoryAllocPass()";
}

//===----------------------------------------------------------------------===//
// GPUPipelining
//===----------------------------------------------------------------------===//
def GPUPipelining : Pass<"gpu-pipelining", "func::FuncOp"> {
let summary = "Pipelining async copy and mma oprations to improve performance.";
let constructor = "mlir::createGPUPipeliningPass()";
let options = [
Option<"stages", "stages", "int64_t", /*default=*/"0", "the number of stages for pipelining">,
];
let dependentDialects = [
"NVVM::NVVMDialect",
];
}

//===----------------------------------------------------------------------===//
// GPUVectorToGPU
//===----------------------------------------------------------------------===//
Expand Down
36 changes: 0 additions & 36 deletions compiler/include/byteir/Dialect/GPU/Transforms/GPUPipelining.h

This file was deleted.

81 changes: 0 additions & 81 deletions compiler/include/byteir/Dialect/MemRef/Transforms/MultiBufferExt.h

This file was deleted.

1 change: 0 additions & 1 deletion compiler/lib/Dialect/GPU/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ add_mlir_dialect_library(ByteIRGPUPasses
GPUDistributeToWarp.cpp
GPUTensorCoreVectorization.cpp
GPUPackSharedMemoryAlloc.cpp
GPUPipelining.cpp
GPUVectorToGPU.cpp
OptimizeVectorTransfer.cpp
RemoveTrivialLoops.cpp
Expand Down
196 changes: 0 additions & 196 deletions compiler/lib/Dialect/GPU/Transforms/GPUPipelining.cpp

This file was deleted.

1 change: 0 additions & 1 deletion compiler/lib/Dialect/MemRef/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
add_mlir_dialect_library(ByteIRMemRefPasses
Transforms/ApplyMemRefAffineLayout.cpp
Transforms/ExtractAddressComputation.cpp
Transforms/MultiBufferExt.cpp
Transforms/RemoveCopy.cpp
Transforms/SimplifyLinearizedIndex.cpp
Transforms/SimplifyView.cpp
Expand Down
Loading

0 comments on commit 2f1dfc0

Please sign in to comment.