[all-commits] [llvm/llvm-project] 4624a1: [mlir] Create a gpu.module operation for the GPU D...

Tres via All-commits all-commits at lists.llvm.org
Tue Jan 14 03:06:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4624a1e8ac8a3f69cc887403b976f538f587744a
      https://github.com/llvm/llvm-project/commit/4624a1e8ac8a3f69cc887403b976f538f587744a
  Author: Tres Popp <tpopp at google.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h
    M mlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h
    M mlir/include/mlir/Dialect/GPU/GPUOps.td
    M mlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
    M mlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
    M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
    M mlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
    M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
    M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
    A mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
    M mlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
    M mlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
    M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
    M mlir/test/Conversion/GPUToNVVM/memory-attrbution.mlir
    M mlir/test/Conversion/GPUToSPIRV/builtins.mlir
    M mlir/test/Conversion/GPUToSPIRV/load-store.mlir
    M mlir/test/Conversion/GPUToSPIRV/loop.mlir
    M mlir/test/Conversion/GPUToSPIRV/simple.mlir
    M mlir/test/Dialect/GPU/invalid.mlir
    M mlir/test/Dialect/GPU/ops.mlir
    M mlir/test/Dialect/GPU/outlining.mlir
    M mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp

  Log Message:
  -----------
  [mlir] Create a gpu.module operation for the GPU Dialect.

Summary:
This is based on the use of code constantly checking for an attribute on
a model and instead represents the distinct operaion with a different
op. Instead, this op can be used to provide better filtering.

Reviewers: herhut, mravishankar, antiagainst, rriddle

Reviewed By: herhut, antiagainst, rriddle

Subscribers: liufengdb, aartbik, jholewinski, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, csigg, arpith-jacob, mgester, lucyrfox, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list