Skip to content

Commit

Permalink
Refactor after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-smnk committed Oct 3, 2024
1 parent f7cf99c commit 5bfe7a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/TPP/GPU/GpuPipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ llvm::cl::list<int64_t>
llvm::cl::CommaSeparated);

// Control GPU vectorization.
llvm::cl::opt<bool> gpuVectorize("gpu-vectorize",
llvm::cl::desc("Vectorize GPU kernel"),
llvm::cl::init(false));
llvm::cl::opt<bool> gpuVector("gpu-vector",
llvm::cl::desc("Vectorize GPU kernel"),
llvm::cl::init(false));

namespace mlir {
namespace tpp {
Expand Down Expand Up @@ -187,7 +187,7 @@ struct GpuPipeline : public tpp::impl::GpuPipelineBase<GpuPipeline>,
pm.addPass(createTileConsumerAndFuseProducers(threadTileOptions));
pm.addPass(createCleanup());

if (gpuVectorize) {
if (gpuVector) {
// Early reduction dimension splitting is incompatible with
// Linalg to XeGPU lowering that expects full GEMM.
// For now, enable only with other vectorization passes.
Expand Down

0 comments on commit 5bfe7a9

Please sign in to comment.