[all-commits] [llvm/llvm-project] 32fe1a: [mlir][GPU] Extend GPU kernel outlining to generat...

Diego Caballero via All-commits all-commits at lists.llvm.org
Thu Dec 16 03:38:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32fe1a8a25944d0c8ae1632684e912f1fb147253
      https://github.com/llvm/llvm-project/commit/32fe1a8a25944d0c8ae1632684e912f1fb147253
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/Passes.h
    M mlir/include/mlir/Dialect/GPU/Passes.td
    M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
    M mlir/lib/Dialect/GPU/Transforms/PassDetail.h
    M mlir/test/Dialect/GPU/outlining.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][GPU] Extend GPU kernel outlining to generate DL specification

This patch extends the GPU kernel outlining pass so that it can take in
an optional data layout specification that will be attached to the GPU
module operation generated. If the data layout specification is not provided
the default data layout is used instead.

Reviewed By: herhut, mehdi_amini

Differential Revision: https://reviews.llvm.org/D115722




More information about the All-commits mailing list