[all-commits] [llvm/llvm-project] e9bc4a: [mlir][gpu][docs] fix incorrect syntax for gpu.lau...

youkaichao via All-commits all-commits at lists.llvm.org
Thu Dec 28 08:44:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9bc4aaa7942af8dee7983fd077fe7c4a805aae0
      https://github.com/llvm/llvm-project/commit/e9bc4aaa7942af8dee7983fd077fe7c4a805aae0
  Author: youkaichao <youkaichao at gmail.com>
  Date:   2023-12-28 (Thu, 28 Dec 2023)

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

  Log Message:
  -----------
  [mlir][gpu][docs] fix incorrect syntax for gpu.launch (#76381)

Per the code:

https://github.com/llvm/llvm-project/blob/5c39b8d1a86cc0c92acd438d4799d19e67ae70db/mlir/include/mlir/Dialect/GPU/IR/GPUOps.td#L805

And the usage:

https://github.com/llvm/llvm-project/blob/5c39b8d1a86cc0c92acd438d4799d19e67ae70db/mlir/lib/Dialect/GPU/IR/GPUDialect.cpp#L869

The keyword should be `blocks` rather than `block`. The documentation of
the syntax is out of date.




More information about the All-commits mailing list