[all-commits] [llvm/llvm-project] 8a8bac: [mlir][GPU] treat the absence of workgroup attribu...

ftynse via All-commits all-commits at lists.llvm.org
Thu Sep 29 05:36:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a8bacb973837147f97b939d1373cd02057424fc
      https://github.com/llvm/llvm-project/commit/8a8bacb973837147f97b939d1373cd02057424fc
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/test/Dialect/GPU/ops.mlir

  Log Message:
  -----------
  [mlir][GPU] treat the absence of workgroup attributes correctly

The helper function in GPUFuncOp incorrectly assumed the workgroup
attribution attribute is always present. Instead, treat its absence as
if its value was zero, i.e., no workgroup attributions are specified.

Closes #58045.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list