[all-commits] [llvm/llvm-project] 661235: [mlir][gpu] Add subgroup Id/Size/Num to GPU dialect

Thomas via All-commits all-commits at lists.llvm.org
Thu Jun 4 10:53:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 661235e1267c389a7d56023da7fcb036468ecfda
      https://github.com/llvm/llvm-project/commit/661235e1267c389a7d56023da7fcb036468ecfda
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/GPUOps.td
    M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
    M mlir/test/Conversion/GPUToSPIRV/builtins.mlir
    M mlir/test/Dialect/GPU/ops.mlir

  Log Message:
  -----------
  [mlir][gpu] Add subgroup Id/Size/Num to GPU dialect

Add SubgroupId, SubgroupSize and NumSubgroups to GPU dialect ops and add the
lowering of those ops to SPIRV.

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




More information about the All-commits mailing list