[all-commits] [llvm/llvm-project] 4c5649: [mlir][nvgpu] Add NVGPU dialect (architectural spe...

Thomas via All-commits all-commits at lists.llvm.org
Thu Apr 14 10:03:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c564940a14f55d2315d2676b10fea0660ea814a
      https://github.com/llvm/llvm-project/commit/4c564940a14f55d2315d2676b10fea0660ea814a
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/CMakeLists.txt
    A mlir/include/mlir/Dialect/NVGPU/CMakeLists.txt
    A mlir/include/mlir/Dialect/NVGPU/NVGPU.td
    A mlir/include/mlir/Dialect/NVGPU/NVGPUDialect.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/lib/Dialect/CMakeLists.txt
    A mlir/lib/Dialect/NVGPU/CMakeLists.txt
    A mlir/lib/Dialect/NVGPU/IR/CMakeLists.txt
    A mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
    A mlir/test/Dialect/NVGPU/roundtrip.mlir
    M mlir/test/mlir-opt/commandline.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][nvgpu] Add NVGPU dialect (architectural specific gpu dialect)

This introduce a new dialect for vendro specific ptx operations. This
also adds the first operation ldmatrix as an example. More operations
will be added in follow up patches.
This new dialect is meant to be a bridge between GPU and Vector
dialectis and NVVM dialect.

This is based on the RFC proposed here:
https://discourse.llvm.org/t/rfc-add-nv-gpu-dialect-hw-specific-extension-of-gpu-dialect-for-nvidia-gpus/61466/8

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




More information about the All-commits mailing list